Commit Graph

130 Commits

Author SHA1 Message Date
phil235
443a4501ec Carbon Dismemberment , second attempt. (#20461)
* - I rearranged X_defense.dm mob files, more damage_procs.dm.Here's what's inside:
* X_defense.dm: is for the procs of attacks onto the mob, all the XXX_act() proc (things happening to the mob), as well as protection check and get procs (armor, ear prot, projectile dismemberment)
* damage_procs.dm: actual damage procs like adjustBruteLoss() getfireloss, any proc that handles damaging.

- some bugfixes with gibspawner effects.
- monkey's bodyparts can be dismembered and are used to create its icon.
- brains are no longer carbons.
- all carbon have bodyparts that can be dropped when the mob is gibbed.
- adminspawned bodyparts now have a default icon.
- robotic parts are now a child of bodyparts.
- health analyzer on alien/monkey shows damage on each limb
- added admin option to add/remove bodyparts for all carbon (instead of just remove on humans)
- Fixes keycheck message spam for janicart and all when trying to move.
- Fixes bug with buckling to a scooter while limbless.
- removed arg "hit_zone" in proj's on_hit() because we can already use the def_zone var (where hit_zone got its value)
- Fixes mob not getting any damage when hit by a projectile on their missing limb, despite a hit message shown). carbon/apply_damage() now when we specify a def_zone and the corresponding BP is missing we default to the chest instead of stopping the proc. Consistently with how human/attacked_by() default to its attack to chest if missing limb.
- Fixes mini uzi icon when empty and no mag (typo).
- I renamed and changed a bit check_eye_prot and ear prot
- renamed flash_eyes to flash_act()
- I made a soundbang_act() similar to flash_act but for loud bangs.
- added a gib and dust animation to larva.
- husked monkeys
- no damage overlay for husk or skeleton.
- damage overlay for robotic limb now.
- no damage overlay when organic bodypart husked.
- one handed human with a bloody hand still get a bloody single hand overlay.
- fix admin heal being unable to heal robotic bodyparts.
- slightly touched robotic bodypart sprites (head one pixel too high)
- Fixes 18532 "beheaded husk has hair".
- Fixes 18584 "Ling stasis appearance bug"
- no more eyes or lipstick on husks.
- can remove flashes/wires/cells from robot chest and head with crowbar.
- Fixes not being able to surgically amputate robotic arm/leg.

* More merge conflict fixes and adding the new files I forgot to add.

* of course I forgot birdstation

* More typos and stuff I forgot to undo.

* Fixing a typo in examine.dm
Removing an unnecessary check.
Making admin heal regenerate limbs on all carbons.
Monkey-human transformation now transfer missing limbs info and presence of a cavity implant.
NODISMEMBER species can still lack a limb if the mob lacked a limb and changed into that new species.
Changeling Regenerate ability now also regenerate limbs when in monkey form. (and remove some cryptic useless code)

* Fixing more conflicts with remie's multihands PR.

* Fixes runtime with hud when calling build_hand_slots().
Fixes lightgeist healing not working.
Fixes null.handle_fall() runtimes with pirate mobs.
Fixes typo in has_left_hadn() and has_right_hand().

* Derp, forgot to remove debug message.
2016-09-12 19:33:50 +02:00
MrStonedOne
56db6396e9 Fix some istypes to handle clients properly 2016-09-08 07:58:20 -07:00
Shadowlight213
4a2242b505 Fixes division by zero with gang spraycans (#20263)
Fixes list index out of bounds runtime in VV
2016-09-03 22:28:32 +02:00
AndrewJacksonThe2nd
2953360310 Removes reagent gas, Misc changes, REAGENT CODE OPTIMIZATION 2016-09-02 15:04:51 -07:00
AndrewJacksonThe2nd
15eac23ac3 CHEMICAL GAS & Reworks 2016-08-31 19:35:39 -07:00
Lzimann
38171aa90a Adds remove spell proc for admins and add it to VV dropdown menu.
The change in
2016-08-18 19:58:16 -03:00
coiax
365054815a Fixes viewing an indexed list of datums in Victor (#19287) 2016-07-13 10:11:08 -04:00
Jack Edge
ea5403c307 Fixes VV breaking on contents, verbs, etc. 2016-07-11 18:30:23 +01:00
coiax
a034ccd10c View Variables can expand on assoc lists with type keys (#19196)
* Victor can expand on assoc lists with type keys

And probably other keys as well.

* Code review I
2016-07-09 18:20:05 +12:00
Kyle Spier-Swenson
9f9c1b4f8f VV now escapes name (because name could be an item in a list) 2016-06-29 04:39:46 -07:00
Jack Edge
5f9553163c Butterflies and cats
- Butterflies now "flutter" rather than say
- Admins have gained Admin->Secrets->Fun->Mass Purrbation
- Plus new cat sound effect.
2016-06-23 00:37:15 +01:00
oranges
d7c748a558 Merge pull request #18472 from phil235/HackyShit
Fixes Synths
2016-06-13 09:24:52 +12:00
Remie Richards
fda2c699fc Automatic conversion via Regex 2016-06-11 18:37:48 +01:00
phil235
cee58e55e7 All species now use the bodypart system to create their body sprite.
Removes procs admin_set_species, update_base_icon_state, update_color.
Removes base_icon_state human var.
Fixes synth being invisible. The falling disguise effect is simplified by using special damage overlays.
Removes the SPECIES layer, it's now no longer used.
2016-06-11 16:36:47 +02:00
lordpidey
31281d7a23 Clarifies comment 2016-06-07 14:55:44 -04:00
Mike Long
4733189540 Fixes random VV crashing. 2016-06-07 01:47:33 -04:00
oranges
a899c28a24 Revert "Variable viewer always expands assoc lists" 2016-06-03 09:13:36 +12:00
Jack Edge
12de9e28b1 Variable viewer always expands assoc lists
Quite often types are keys in lists as well as strings. I've checked, it
works fine, seems like a shame to lock it behind my datum antags PR so
here it is seperately.
2016-06-01 12:57:40 +01:00
Jack Edge
1ba0fb5aee Infectious zombies are now a full subspecies
Fixes #17932

No more ""infection holder" bursts out of" memes, as zombie infection is
now done with a body egg in the head.

- Added 'romerol' a silent bioweapon reagent that adds the zombie
infection organ to a living person. This will lie dormant until they
die. Then they will stand up again.
- Zombie infection uses body_egg, meaning it shows up on healthHUDs.
- Zombies are now a full subspecies of humans, instead of
simple_animals. However, they should still be mostly the same, still
unable to pick up items, still zombify on attack and still able to claw
open doors.

Side Effects

- Zombies now take time to destroy tables
- Zombies can have their limbs cut off and be reduced to wandering
around being a bit pathetic. This is a feature.
- Zombies can be stunned and are vulnerable to stamina damage and
chemicals
- Zombies are armoured, but instantly die in crit, meaning they have
approximately 120 hp as before
- Zombie hands are just bloody hands, a proper sprite maybe sometime

gjkafldksfjkl
2016-05-31 00:15:10 +01:00
Shadowlight213
d2b5ed20f4 makes toggle purrbation work on angels 2016-05-21 20:38:24 -07:00
phil235
53c5b7f5d5 Fixes lizard body markings appearing behind the bodypart layer.
Fixes tail sprite when missing a leg and facing south.
Adds an admin option in human VV to remove a body part.
Fixes typos.
Fixes being able to toggle hardsuit and wintercoat helmet despite having no head.
Changes the dismemberment chance from explosion: bomb armor helps against it, and the maximum number of limbs that you can lose in one explosion is capped depending on the explosion severity.
Missing 1 or 2 legs makes you significantly slower. If without legs, missing an arm makes you slower. You can no longer move when missing all four limbs.
Bodyparts have now force 3 and throwforce 3
Tongues are now properly put in decapitated heads.
Shaking a legless person no longer gives weird results.
2016-05-07 01:00:00 +02:00
Incoming
10b966b97c View vars will now tell you if something's been previously var edited 2016-04-28 19:38:21 -04:00
MrStonedOne
bc8ff11f3f Lag check on initialization (and on a missed del-all proc) 2016-03-15 03:39:43 -07:00
Tkdrg
af7e42c6f1 Makes the admin add reagent list sorted 2016-03-05 08:24:38 -03:00
Firecage
332bde0f4f Does the rest of the if()'s/ else's 2016-01-17 19:03:12 +02:00
Bjorn Neergaard
85b1576ba0 Sanitize HTML in VV to prevent HTML injection
Also rename SStgui html variable to be more informative
2016-01-01 18:41:39 -06:00
KorPhaeron
83f4661f05 Missing checks 2015-12-30 10:28:27 -06:00
KorPhaeron
759646af68 Improvements 2015-12-28 17:29:46 -06:00
KorPhaeron
7200c74d90 Fixes various ghost replacement things 2015-12-21 02:43:42 -06:00
Tkdrg
97e4058fc2 Fixes runtime when VVing datums
I'm dumb.
2015-12-18 16:55:44 -03:00
Tkdrg
abb0cd663c Adds a Follow/Jump to link to the VV dropdown
Some good QoL for debugging stuff.
2015-12-17 00:45:16 -03:00
Cheridan
5004bcdba2 Merge pull request #13122 from RemieRichards/Synths
Adds a Synth Species
2015-12-09 20:11:09 -06:00
duncathan salt
15ae23b74f Merge pull request #13257 from Jordie0608/allthevarsthatdontgeteditedbecomeverylonely
Adds on_varedit proc
2015-12-08 11:43:14 -06:00
Remie Richards
00bfe18348 Merge branch 'master' of https://github.com/tgstation/-tg-station into Synths
Conflicts:
	icons/mob/human.dmi
2015-12-04 20:23:32 +00:00
Remie Richards
4079e1bb7f Merge pull request #13158 from KorPhaeron/Nya
Removes references to "valid" from purrbation
2015-11-27 20:01:17 +00:00
Jordie0608
5a166f6c71 change to datum proc 2015-11-27 18:26:48 +11:00
Tkdrg
f7c4ac2d9d Fixes VV not updating properly for non-datums
Fixes #13211
2015-11-25 16:35:59 -03:00
KorPhaeron
4d3046e5cb Terrible pun 2015-11-25 08:42:21 -06:00
KorPhaeron
c646656e79 Valid 2015-11-22 06:41:30 -06:00
Remie Richards
2c4676757c Adds a Synth Species, Admin only atm, Imitates a species and when they reach 50 HP their skin partially falls off. Adds a method for species to react to being force set by an admin. 2015-11-19 22:05:48 +00:00
Razharas
835da91620 Merge pull request #11883 from phil235/DnaMonkeyStuff
DNA rework
2015-09-22 18:43:27 +03:00
KorPhaeron
86d7a15141 If this isn't actually fixed I'm gonna cry 2015-09-21 21:04:28 -05:00
KorPhaeron
039af4067e Parentheses 2015-09-21 19:25:39 -05:00
KorPhaeron
403aac044b compromise 2015-09-21 19:24:28 -05:00
KorPhaeron
ceb87b1d62 key_name_admin 2015-09-21 18:46:28 -05:00
KorPhaeron
4edb09064a span 2015-09-21 17:31:07 -05:00
KorPhaeron
d4bf182366 Indent 2015-09-21 10:07:01 -05:00
KorPhaeron
d2ad29ad98 Removes useless code 2015-09-21 10:01:49 -05:00
KorPhaeron
12bc0caa3a Updates pollCandidates 2015-09-21 09:45:28 -05:00
KorPhaeron
947787effd Strange 2015-09-19 23:10:09 -05:00