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

simple animals now accept reagents #18339

Merged
merged 3 commits into from
Jul 12, 2018
Merged

simple animals now accept reagents #18339

merged 3 commits into from
Jul 12, 2018

Conversation

MadmanMartian
Copy link
Contributor

mobs can now accept reagents unless they're holographic/stone/etc
mobs now metabolize reagents they have inside them. Now the mouse can eat food for nutriment and it feed them over time.
closes #16598
closes #16597
medical nanobots can now turn mobs into cyber horror mobs, for more grey goo possibilities

🆑

  • rscadd: Following extensive medical testing, we've found that healing chemicals can be animal friendly.
  • rscadd: After some tweaks to the base design of medical nanobots, they can now adapt and repair more than just humans

@MadmanMartian MadmanMartian added the Unatomic Uncle Touches different things all at once. label May 23, 2018
@IconDiffBot
Copy link

IconDiffBot commented May 23, 2018

Icons with diff:

icons/mob/animal.dmi
Key Old New Status
plasma_cyber_horror[20] plasma_cyber_horror[20] Removed
cyber_horror[2] cyber_horror[2] Removed
ling_cyber_horror[3] ling_cyber_horror[3] Removed
ling_cyber_horror ling_cyber_horror Removed
cyber_horror_dead[1] cyber_horror_dead[1] Removed
vox_cyber_horror[1] vox_cyber_horror[1] Removed
plasma_cyber_horror[6] plasma_cyber_horror[6] Removed
plasma_cyber_horror[5] plasma_cyber_horror[5] Removed
grey_cyber_horror[2] grey_cyber_horror[2] Removed
tajaran_cyber_horror[2] tajaran_cyber_horror[2] Removed
plasma_cyber_horror[2] plasma_cyber_horror[2] Removed
plasma_cyber_horror[16] plasma_cyber_horror[16] Removed
plasma_cyber_horror[21] plasma_cyber_horror[21] Removed
tajaran_cyber_horror tajaran_cyber_horror Removed
grey_cyber_horror[3] grey_cyber_horror[3] Removed
cyber_horror cyber_horror Removed
plasma_cyber_horror[4] plasma_cyber_horror[4] Removed
grey_cyber_horror grey_cyber_horror Removed
plasma_cyber_horror[14] plasma_cyber_horror[14] Removed
plasma_cyber_horror[22] plasma_cyber_horror[22] Removed
plasma_cyber_horror[7] plasma_cyber_horror[7] Removed
plasma_cyber_horror[12] plasma_cyber_horror[12] Removed
vox_cyber_horror[3] vox_cyber_horror[3] Removed
plasma_cyber_horror[8] plasma_cyber_horror[8] Removed
plasma_cyber_horror[23] plasma_cyber_horror[23] Removed
plasma_cyber_horror[18] plasma_cyber_horror[18] Removed
cyber_horror[3] cyber_horror[3] Removed
cyber_horror[1] cyber_horror[1] Removed
grey_cyber_horror[1] grey_cyber_horror[1] Removed
cyber_horror_dead cyber_horror_dead Removed
ling_cyber_horror[1] ling_cyber_horror[1] Removed
cyber_horror_dead[2] cyber_horror_dead[2] Removed
vox_cyber_horror vox_cyber_horror Removed
plasma_cyber_horror[13] plasma_cyber_horror[13] Removed
plasma_cyber_horror[10] plasma_cyber_horror[10] Removed
plasma_cyber_horror[9] plasma_cyber_horror[9] Removed
tajaran_cyber_horror[3] tajaran_cyber_horror[3] Removed
plasma_cyber_horror[19] plasma_cyber_horror[19] Removed
plasma_cyber_horror[15] plasma_cyber_horror[15] Removed
plasma_cyber_horror[11] plasma_cyber_horror[11] Removed
plasma_cyber_horror[1] plasma_cyber_horror[1] Removed
plasma_cyber_horror plasma_cyber_horror Removed
vox_cyber_horror[2] vox_cyber_horror[2] Removed
tajaran_cyber_horror[1] tajaran_cyber_horror[1] Removed
plasma_cyber_horror[17] plasma_cyber_horror[17] Removed
plasma_cyber_horror[3] plasma_cyber_horror[3] Removed
cyber_horror_dead[3] cyber_horror_dead[3] Removed
ling_cyber_horror[2] ling_cyber_horror[2] Removed
icons/mob/cyber_horror.dmi
Key Old New Status
mouse_brown[1] mouse_brown[1] Created
plasma_cyber_horror[17] plasma_cyber_horror[17] Created
vox_cyber_horror vox_cyber_horror Created
corgi_dead corgi_dead Created
plasma_cyber_horror[14] plasma_cyber_horror[14] Created
vox_cyber_horror[2] vox_cyber_horror[2] Created
cyber_horror_dead[1] cyber_horror_dead[1] Created
grey_cyber_horror[2] grey_cyber_horror[2] Created
corgi corgi Created
cat[5] cat[5] Created
cat[7] cat[7] Created
ling_cyber_horror[2] ling_cyber_horror[2] Created
ling_cyber_horror[3] ling_cyber_horror[3] Created
plasma_cyber_horror[20] plasma_cyber_horror[20] Created
plasma_cyber_horror[22] plasma_cyber_horror[22] Created
plasma_cyber_horror[11] plasma_cyber_horror[11] Created
plasma_cyber_horror[16] plasma_cyber_horror[16] Created
cat[6] cat[6] Created
tajaran_cyber_horror tajaran_cyber_horror Created
plasma_cyber_horror[15] plasma_cyber_horror[15] Created
plasma_cyber_horror[7] plasma_cyber_horror[7] Created
plasma_cyber_horror[9] plasma_cyber_horror[9] Created
cat[1] cat[1] Created
corgi[1] corgi[1] Created
plasma_cyber_horror[19] plasma_cyber_horror[19] Created
cat_dead cat_dead Created
mouse_brown_dead mouse_brown_dead Created
mouse_brown_splat mouse_brown_splat Created
ling_cyber_horror[1] ling_cyber_horror[1] Created
plasma_cyber_horror[13] plasma_cyber_horror[13] Created
vox_cyber_horror[3] vox_cyber_horror[3] Created
cyber_horror_dead cyber_horror_dead Created
grey_cyber_horror[1] grey_cyber_horror[1] Created
mouse_brown mouse_brown Created
ling_cyber_horror ling_cyber_horror Created
cat[2] cat[2] Created
corgi[3] corgi[3] Created
vox_cyber_horror[1] vox_cyber_horror[1] Created
grey_cyber_horror[3] grey_cyber_horror[3] Created
mouse_brown_sleep mouse_brown_sleep Created
plasma_cyber_horror[4] plasma_cyber_horror[4] Created
plasma_cyber_horror[1] plasma_cyber_horror[1] Created
cyber_horror[3] cyber_horror[3] Created
cyber_horror cyber_horror Created
plasma_cyber_horror plasma_cyber_horror Created
plasma_cyber_horror[8] plasma_cyber_horror[8] Created
plasma_cyber_horror[23] plasma_cyber_horror[23] Created
plasma_cyber_horror[18] plasma_cyber_horror[18] Created
plasma_cyber_horror[3] plasma_cyber_horror[3] Created
cyber_horror_dead[3] cyber_horror_dead[3] Created
mouse_brown[2] mouse_brown[2] Created
cyber_horror[2] cyber_horror[2] Created
cat[4] cat[4] Created
tajaran_cyber_horror[2] tajaran_cyber_horror[2] Created
grey_cyber_horror grey_cyber_horror Created
plasma_cyber_horror[5] plasma_cyber_horror[5] Created
plasma_cyber_horror[10] plasma_cyber_horror[10] Created
cyber_horror_dead[2] cyber_horror_dead[2] Created
cyber_horror[1] cyber_horror[1] Created
plasma_cyber_horror[21] plasma_cyber_horror[21] Created
mouse_brown[3] mouse_brown[3] Created
plasma_cyber_horror[12] plasma_cyber_horror[12] Created
plasma_cyber_horror[6] plasma_cyber_horror[6] Created
plasma_cyber_horror[2] plasma_cyber_horror[2] Created
cat cat Created
cat[3] cat[3] Created
tajaran_cyber_horror[1] tajaran_cyber_horror[1] Created
tajaran_cyber_horror[3] tajaran_cyber_horror[3] Created
corgi[2] corgi[2] Created

@MadmanMartian
Copy link
Contributor Author

robopuppy

@MadmanMartian MadmanMartian added Balance Potentially going to upset people as it changes balance of the game. Content Adds something. Neat! labels May 23, 2018
@Shadowmech88
Copy link
Contributor

Not that I'm saying not to do this, but I floated the idea some time ago and was told it was a bad one, which is why I went with adding a spray interaction for phazon in order to allow it to affect simple_animals.
image

if(spawning_horror == 1)
to_chat(M, "<b><span class='warning'>Something bursts out from inside you!</span></b>")
message_admins("[key_name(M)] has gibbed and spawned a new cyber horror due to nanobots. ([formatJumpTo(M)])")
if(ishuman(M))
Copy link
Contributor

@unid15 unid15 May 23, 2018

Choose a reason for hiding this comment

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

have it simply call new /mob/living/simple_animal/hostile/monster/cyber_horror/monster(M.loc, M), and do this whole "ishuman(M)" thing in cyber horror's New(), since you're already doing it like this with animals

@MadmanMartian
Copy link
Contributor Author

@Shadowmech88 I've done some bits to reduce the potential load. The mob_property_flags check if the mob is holographic and such, and if so they don't get a reagent container.

Shouldn't be any worse than spawning a new human, considering we have a few ways of limiting mob counts (baby checks, for instance)

desc = "What was once \a [who_we_were], twisted by machine."
var/multiplier = who_we_were.reagents.has_reagent(MEDNANOBOTS)?who_we_were.reagents.get_reagent_amount(MEDNANOBOTS)/10:1

if(isanimal(who_we_were) && who_we_were:icon_living && has_icon(icon, who_we_were:icon_living))
Copy link
Collaborator

Choose a reason for hiding this comment

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

hitler

var/multiplier = who_we_were.reagents.has_reagent(MEDNANOBOTS)?who_we_were.reagents.get_reagent_amount(MEDNANOBOTS)/10:1

if(isanimal(who_we_were) && who_we_were:icon_living && has_icon(icon, who_we_were:icon_living))
icon_state = who_we_were:icon_living
Copy link
Collaborator

Choose a reason for hiding this comment

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

hitler again


if(isanimal(who_we_were) && who_we_were:icon_living && has_icon(icon, who_we_were:icon_living))
icon_state = who_we_were:icon_living
icon_living = who_we_were:icon_living
Copy link
Collaborator

Choose a reason for hiding this comment

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

hitler 3: the revenge

@Durgen
Copy link
Contributor

Durgen commented May 23, 2018

player controlled cyber horrors after transformation when?

DamianX
DamianX previously requested changes Jun 8, 2018
Copy link
Contributor

@DamianX DamianX left a comment

Choose a reason for hiding this comment

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

needs unhitlering

@SonixApache
Copy link
Contributor

unhitler when

@MadmanMartian
Copy link
Contributor Author

Monday

@DamianX
Copy link
Contributor

DamianX commented Jul 9, 2018

I suppose it is Monday

@DamianX DamianX dismissed their stale review July 9, 2018 17:52

addressed

@jknpj jknpj merged commit 2e89e0b into vgstation-coders:Bleeding-Edge Jul 12, 2018
@MadmanMartian MadmanMartian deleted the cyber_horror_simple_mobs branch July 12, 2018 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Balance Potentially going to upset people as it changes balance of the game. Content Adds something. Neat! Unatomic Uncle Touches different things all at once.
Projects
None yet
8 participants