Skip to content

Export Mutagen costs. Fix Mutagel conversion rates. Tune JSON encoding. Don't clean wiki.species names.#136

Closed
alex4401 wants to merge 4 commits intomasterfrom
feature-gen2-fixes-and-additions
Closed

Export Mutagen costs. Fix Mutagel conversion rates. Tune JSON encoding. Don't clean wiki.species names.#136
alex4401 wants to merge 4 commits intomasterfrom
feature-gen2-fixes-and-additions

Conversation

@alex4401
Copy link
Collaborator

No description provided.

This has been stashed for a very long time, originating from one of the first explorer notes branches.

I don't see a reason why this wouldn't be merged, nor do I remember any from back when this was first discussed.
Copy link
Member

@coldino coldino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending testing during merge


# DevKit Unverified
bUsesGender = uebools(True)
MutagenBaseCost = uefloats(-1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get this verified before merge?

'''JSON with added beautification!'''
if pretty:
json_string = json.dumps(data, indent='\t')
json_string = json.dumps(data, ensure_ascii=False, indent='\t')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would rather this was a separate change, so I'll cherry-pick before merge.

# Formula extracted from PrimalItemConsumable_Mutagen_C's scripts
# Vultures cannot use Mutagen as it can't enter their inventories.
# IsRobot and IsVehicle banned from Mutagen in v329.51.
if species.DinoNameTag[0] != 'Vulture' and not species.bIsRobot[0] and not species.bIsVehicle[0]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, I'd like to get the Vulture tag removed from the code and replaced by a configurable list in overrides. Please create an issue for this work to be done in future.

@coldino
Copy link
Member

coldino commented Nov 30, 2021

This was merged in two pieces.

@coldino coldino closed this Nov 30, 2021
@alex4401 alex4401 deleted the feature-gen2-fixes-and-additions branch January 30, 2023 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants