Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random stuff #178

Merged
merged 5 commits into from
Jun 7, 2024
Merged

Random stuff #178

merged 5 commits into from
Jun 7, 2024

Conversation

saltwaterterrapin
Copy link
Collaborator

A collection of various bugfixes for review.

Several letters were used twice or more by various options---the old code assumes that no roles start with the same letter and that now races/alignments/genders start with the same letter, and between caveperson/convict and a whole bunch of races this is no longer true. Hardcode the stuff instead. If lots more races/roles are plans, perhaps this stuff should be made a field in the race/role constructs, but for now this suffices.
This makes intuitive sense and means we don't have to worry about where to put the steed---win-win!
It used to be (like in vanilla 3.3 or something)  WHACK/PIERCE/SLASH were defined as 0/1/2. The damage type for weptools was used as their to-hit bonus. But, when WHACK was redefined as 4, the to-hit bonuses changed, too. Pretty sure this is still extant in vanilla as well, just less noticeable because vanilla has no object lookup.
When zombies die, their corpses are transformed into default racial corpses, e.g. orc zombie->orc. This meant that you could only do same-race sacrifice as a draugr by chancing upon a draugr NPC or wishing explicitly for a 'foo zombie corpse.'

This allows corpses left by zombies to be used as well.
@k21971 k21971 merged commit 29c3347 into master Jun 7, 2024
3 checks passed
@k21971 k21971 deleted the random-stuff branch June 7, 2024 12:11
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