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

More death functionality. #6104

Merged
merged 6 commits into from Feb 17, 2014

Conversation

Projects
None yet
3 participants
@Soyweiser
Copy link
Contributor

commented Feb 14, 2014

Death function now accepts stuff like:
"death_function":["NORMAL", "ZOMBIE"]

The dies mtype variable is now a vector of pointers to death functions. All get called on death.

A zombie needs both the normal and zombie tag. Added.

Checked the dinomod. But no changes where needed.

Added a bile blood tag, and fixed the acid blood tag. Both are different effects from boomering and acid exploding. Corpses can now be acid. So when smashed they leave acid pools.

Added ZOMBIE and NORMAL to the spitter. So the spitter leaves a corpse again. (But it dissolves rapidly. But explodes into a 3x3 acid pool if smashed).

Soyweiser added some commits Feb 14, 2014

Death function now accepts stuff like:
"death_function":["NORMAL", "ZOMBIE"]

The dies mtype variable is now a vector of pointers to death functions. All get called on death.

A zombie needs both the normal and zombie tag.

Checked the dinomod. But no changes where needed.

Added a bile blood tag, and fixed the acid blood tag. Both are different effects from boomering and acid exploding. Acid corpses should leave acid spots on death.
Removed debug code.
Added normal and zombie death effects to spitter zombies. They now leave corpses. (Those do dissolve, but if an idiot smashes them it spawns acid all around it).
@Soyweiser

This comment has been minimized.

Copy link
Contributor Author

commented Feb 14, 2014

Fixed the build failure.

@KA101 KA101 self-assigned this Feb 15, 2014

@@ -3685,7 +3685,7 @@
"luminance":0,
"hp":250,
"special_freq":0,
"death_function":"AMIGARA",
"death_function":["AMIGARA", "NORMAL"],

This comment has been minimized.

Copy link
@KA101

KA101 Feb 15, 2014

Contributor

Amigaras don't leave corpses currently; I'm kinda inclined to leave 'em that way but open to changing it.

This comment has been minimized.

Copy link
@Soyweiser

Soyweiser Feb 15, 2014

Author Contributor

That is odd, as the old AMIGARA death function did call normal. That is why I gave the amigara monsters the normal death function as well.

@KA101 KA101 removed their assignment Feb 15, 2014

Soyweiser added some commits Feb 15, 2014

@kevingranade kevingranade merged commit a4a4ec0 into CleverRaven:master Feb 17, 2014

1 check passed

default
Details

@Soyweiser Soyweiser deleted the Soyweiser:more_death branch Feb 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.