Commit Graph

101 Commits

Author SHA1 Message Date
13spacemen
2754c2fd14 Cosmetic Tail Organs [NO WAGGING] (#36060)
* mob part bitflags in proper format, added tail part bitflag, hidetail clothing cover flag, reordered tail layer, added tail_underlimbs_layer for overlapping tails, limbs_layer for limbs placed under, tail_wagging + has_icon_skin_tone + tail_overlapped species anatomical flags, mutable_appearance() helper, made many suits cover tail, added tail wagging emote for species that can wag, made a species folder for species files, rewrote update_tail_showing(), character preview can show tails, vox tails are now separate from the body instead of being baked into the chest, vox tails will show slightly in north dir instead of being invisible

* added color defines, undid bitfield format change, wag emote is shorter and doesnt show text on stopping wag, vox tails have their own file and have better names, removed icon manipulation from tail updating, species can have own tail icon, made vox tail north sprites full/complete sprites

* wag emote no longer displays runechat, custom emotes can choose to not show runechat, restores old husk overlays

* limb_tail tail define, moved 2 tail species flags to organ level, added span define, tail is on organ level, added support for cosmetic organs, tail preview icon shows better, added tail support to common surgeries

* fix double tail organ, tail organ item only uses east sprite and is shifted to center it more

* removes tail wagging

* rename tail define, minor tweaks

* more checks, fix char preview issues, remove unused proc, frankensteins spawn with random kind of tail, repaired tajaran and unathi tails credit to falcon2346, robotail support, rambler will not spawn with tail, gibbing drops tails

* Update species.dm
2024-02-28 20:26:34 +00:00
boy2mantwicethefam
71d5e6b1b4 fix 2023-10-23 18:00:57 +03:00
jwhitak
981badcf07 Chemical Healing with Damaged Robolimbs Bugfix (The Second Mystery of Xivvis) (#34687)
* healing chems target only organic limbs

* refactor to match other procs
2023-07-17 11:27:02 -05:00
SECBATON GRIFFON
4ba1550da4 Creates new type of asteroid boss (#33674)
* Creates new type of asteroid boss

* name suggested

* frost oil perfectly revives hivelord hearts

* frost oil perfectly revives hivelord hearts

* frost oil perfectly revives hivelord hearts

* frost oil perfectly revives hivelord hearts

* frost oil perfectly revives hivelord hearts

* wrong way round

* makes the boss less actually impossible

Co-authored-by: SECBATON GRIFFON <sage>
2022-11-23 14:40:47 -06:00
SECBATON GRIFFON
b133803c47 Buddha mode + Hell (#33328)
* Buddha mode

* devilish

* HELLISH

* tidy

* fixes

* find a way to do this that doesnt make server be kill

* turn it off for now so we can test better

* lag-free method

* oh this too

* basis of this part

* fixes

* fixes

* fixes

* fixes

* cap on this to stop possible lag

* fix

* Allows admins to ghost if buddha'd

* New way of getting things

* More basic stuff

* More stuff

* actual way to do it

* in practice

* hell freezes over

* cursed dice edition

* tweaking this so it can be turned off if it breaks

* disabilities, removing rendundant thing with floor

* Limbs and final proc sorting

* better like this

* better like this

* better like this

* in setup cause it lags during game

* better logging

* restructured code, buddhas cannot be gibbed

* this too

* this too

* this too

* this too

* finally right bantype

* removed limit

* hell is now a dungeon for performance

* hell is now a dungeon for performance

* hell is now a dungeon for performance

* removes unused zlevel now

* area

* new sneding

* new sending

* fixes proc name

* uses this db call instead for ease of testing, confirms pref copying works anyways, revert to old one if necessary

* testing one for now

* better scope

Co-authored-by: SECBATON GRIFFON <sage>
2022-11-09 15:26:33 -06:00
DamianX
d4a4ce82d7 Optimized invoke_event (#31046) 2021-10-11 11:56:44 -05:00
DamianX
fe77ef6e20 Converted all old events to lazy_events, removed old events, renamed lazy_event to event (#30503)
* wip refactor old events

* refactored events

* We're not lazy anymore! I mean we're still are. We just don't call ourselves that. Lazy is the new default option. It's also the only option. God, this took so long.
2021-09-04 23:21:03 -05:00
Exxion
238f41f4da Fixes linter problems and potentially some bugs too 2021-06-04 16:23:03 -04:00
kane-f
2376c3d8f1 Spilling your spaghetti (#29490)
* Initial spaghetti spilling code

* Adding to .dme

* Now spills a decal rather than the item, with sound feedback

* Refactoring spillcode to accept a chance that can be modified to call it elsewhere, basis of symptom

* Cleanup and fixes

* I'll do the virus later, too much effort to code spawning items in pockets

* Tweak for running

* Will now spill spaghetti when knocked down, all of the time

* Stutter too, why not

* Small chance to mute

* Now talking increases chance, plus extra comments

* Toom-, I mean, tryepod wanted full stops

* Adds spaghetti reagant, now in messes

* And effects

* Indentation problem

* Forgot we aren't in human itself

* Forgot we aren't in human itself

* Final fix

* Adding new stage to fever, only fitting

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-05-11 08:51:14 -05:00
GreatBigFailure
5b3573b955 A bug bug was bugging me. Rads radically less radioactive. Bugs slightly more radical. (#29296)
* bug bug

* Somewhat educational

* bugger

* Oh right the entire purpose of this PR

Co-authored-by: Rubylips <Questionfrog@gmail.com>
2021-04-26 10:44:37 -05:00
toomykins
a154e7af38 crit logging (#29178)
* critlog basic

* wow im stupid

* Update damage_procs.dm
2021-04-13 02:41:23 -05:00
DamianX
09a73d3c59 Converted a bunch of stuff to the new thing (#27556)
* removed old on_density_change thing

* converted on_resist to lazy events

* Converted on_spellcast to lazy events

* Converted on_uattack to lazy events, breaks spell channeling

* Converted on_ruattack to lazy events, unbreaks channeled spells

* Converted on_logout to lazy events

* Converted on_damaged to lazy_events

* Converted on_death to lazy_events

* Converted on_clickon to lazy_events

* Converted on_attackhand to lazy_events, added on_bumped
2020-08-16 18:53:17 +02:00
DamianX
47d8ac8c6f converted on_irradiate to lazy events (#27241) 2020-07-24 08:30:48 -03:00
DamianX
e811ce6a21 The last batch of linter fixes (#27039)
* Added arguments to all gib() implementations

* Fixed ai/login.dm

* add arguments to remaining gib() impls

* i forgot this motherfucker's gib() arguments

* added type hint to global_runesets

* fixed weird for loop

* fixed blisterol not doing anything

* added a bunch of type hints

* wipe from the face of the earth the fuckery with the buckle verbs

* added type hints to the cmc

* Fixed arguments to apply_damage
2020-07-08 10:02:16 -03:00
Deity Link
2c980a1f42 Infrared Emitters THE COMEBACK 2020-06-05 01:55:12 +02:00
Buchse
5e3fdbbb06 Insectoids (Roachmen) II: Electric bugaloo (#25757)
* WIP Roachmen, sprites don't seem to be working

* changed map back to default

* Fixed an issue with the new() function in human.dm, added an organ list, specified the correct eyes to use. Fuckers are still invisible, but they're closer than they were.

* Fixed faulty icon files causing the "invisible bug" issue, added insectoids into lists for bald and shaven accessories.

* Minor edit to sprite_accessories

* Fiddling with hair and facial hair, haven't figured out f_style error yet

* fixed all issues.

* changed map back to tgstation

* fixed a conflict

* Update roach.dm

* Changed language key to something that works

* Added insectoid organs and sprites, added insectoid name generator, added insect organs to the bioprinter.

* again, changed map back to tgstation

* fixed sprite layering issue

* Update organ_objects.dm
2020-01-30 20:38:56 -06:00
adrian
e2ec86a0da Fixes some genetic damage nonsense (#25647)
* Fixes some clone loss nonsense

* actually...
2020-01-12 20:43:32 -03:00
Kurfursten
1cc2bec713 Revert "Human health now only takes into account the vital external organs." 2019-09-25 17:38:24 -05:00
madmanmartian
d0411f643a Human health now only takes into account the vital external organs.
This means cutting your feet to bloody shreds is no longer directly lethal, but the bloodloss will be lethal
2019-09-11 05:19:34 +01:00
madmanmartian
7843f01384 good lord bullet damage was being dropped twice 2019-06-20 15:03:53 +01:00
madmanmartian
76ff3d491e Removes armor RNG, now they're just a straight percentage of damage reduction 2019-06-20 13:03:18 +01:00
madmanmartian
6264668c15 gives an arg to dust for it to drop everything the person was wearing 2019-03-29 22:54:36 +00:00
madmanmartian
6700ebbd7e Should a human receive enough instantaneous burn damage, they ash 2019-03-29 22:32:45 +00:00
Pathid
6ade879e80 take_overall_damage() now returns the amount of damage taken (#18966) 2018-07-26 22:43:08 +01:00
Pathid
6e1e619bf8 Fixed apply_radiation() return var (#18880) 2018-07-19 14:47:56 +02:00
MadmanMartian
0f5f11f873 robotic limb related fixes (#16920)
* mednanobots now ignore robotic limbs. Arithrazine/chlorine/anything that deals damage while in-system now ignore robotic limbs.

* standardized from 1/0 to FALSE/TRUE

* Could've sworn that would have worked, but in testing it on a martian it runtimed. Damn.
2017-12-31 11:02:17 +01:00
unid15
7fbb5bf2ef Merge branch 'Bleeding-Edge' into organ10 2017-07-24 19:33:57 +02:00
unid15
285722564d Organ transplants update 2017-07-23 20:32:48 +02:00
unid15
299665201a Organ refactor start 2017-07-21 15:19:12 +02:00
Skullyton
693c05290f radiation rework 2 electromagnetic boogaloo (#14745)
* radiation rework 2 electromagnetic boogaloo

* adds the on_irradiate event, geiger counters listen out for this

* adds feral ghouls and glowing one, adds recipes for lithotorcrazine, adds roaches to infestation events

* accidentally tinied

* changing a define is a pain

* checking to see if the user is still holding the damn thing, rather than just running away at the first sign of radiation
2017-06-07 16:34:03 -07:00
DamianX
7dce43cc51 Fixed bodies not being husked when taking large amounts of burns at once (#15084) 2017-06-04 09:11:44 -07:00
Shadowmech88
d1a28d39da Makes Slime People a Proper Race (#14821)
* Adds a slime person race.

* Replaces all mentions of the slime mutantrace with the slime species datum.

* Fixes errors and things.

* Finishes implementing slime people race.

* Makes requested changes.

* Removes comment.

* Fixes conflicts.
2017-05-19 14:32:38 -07:00
Shadowmech88
86fd5145ae Adds the Bullet Storm. 2017-02-06 15:54:13 -06:00
9600bauds
e3b005f38b Buffs painkillers to actually act like painkillers (#13223)
* Buffs painkillers to actually act like painkillers

* http://i.imgur.com/V3zZ1Gq.png

* Removes "painkillers ALWAYS prevent shock" since it's kind of redundant with the pain resist, fixes THE PHANTOM PAIN, mangled stumps give slightly less pain, Oxycodone results in 3 units instead of 1

* Oxycodone lets you have surgery while awake (no self-surgery yet lads)

* muh flavor
2017-01-04 22:19:04 -05:00
DrCelt
f9b8c780ee Fixes #8231, Plasmamen being forevially jittery, drowsy, confused, etc etc etc fuck whoever did this (#12899)
* Fixes #8231, Plasmamen being forevially jittery, drowsy, confused, etc etc etc fuck whoever did this

* promotes ghetto var to proper var to prevent ghetto var meltdown

* h

* it compiles
2017-01-02 22:17:56 +01:00
unid15
ff7914263d The Combat Code Cleanup Part 1 (#13061)
* Combat code upgrade

* Fix

* Runtimes goodbye

* MORE improvements

* Monkey combat code

* Done for today

* Stun gloves refactor

* New day new code

* Remove debug

* Logs stunglove

* Slimes

* Slime attack sound

* Better logging

* Better way to do this
2016-12-28 09:20:46 -05:00
Sprok0
2be73c92dd Adds 7 possible artifact effects (#12715)
* new artifact effects

* this is pretty important too I guess

* do this better

* artifact batteries can now copy any variables needed

* reagent block effect

* minimum required volume

* revive artifact

* some fixes

* conflicts

* stuff

* changes

* move this

* things
2016-12-27 08:12:25 -05:00
DrCelt
5fb75cc977 Finally fucking fixes robot/peg limbs having their damage count against your total health. Peg limbs don't hurt, missing limbs are shown missing in your paperdoll, broken limbs are shown as always badly damaged rather than always missing. (#12804) 2016-12-21 16:19:28 -05:00
9600bauds
bacedc1818 Sharpness flags (#12728)
* Sharpness flags

* Sharpness flag implementation

* We don't need this anymore!

* pretty

* Ow The Commit Message
2016-12-21 07:19:37 -05:00
Intigracy
31a66103af weakened becomes knockdown (which is what it does) (#12466)
* weakened becomes knockdown

* CRUISE CONTROL FOR COOL

* there's a proc for that

* use the procs luke

* shitcode
2016-11-06 14:41:50 -06:00
unid15
d1e0ac01ea New wizard spell: Pain Mirror (#11548)
* Adds Pain Mirror

* Fixes, post-round statistics

* Stuf

* Adds effect

* New graphics and tweaks

* No spam
2016-09-21 03:47:01 -05:00
ComicIronic
b35eaa65d8 Replaced loc setting with forceMove. (#11490)
* Replaced loc setting with forceMove.

* Update forceMove to permit moving to null loc.

Also fixed atom locking with offsets not following properly.
2016-08-29 06:40:45 -05:00
ComicIronic
d490e1f970 Removed one line ifs and elses. (#11389) 2016-08-15 05:36:21 -05:00
ComicIronic
03861f64f5 Moved limb and zone internal names over to defines, (#10871) 2016-07-06 18:25:43 -05:00
Intigracy
68578329bd Fixes #10609 but keeps diona burn mod the same (#10663)
* Fixes #10609
fixes #10609

organ.take_damage() already had a species modifier, nerds.
moved the other species modifier from apply burn/brute damage to apply overall damage, which both procs called anyway because these were called elsewhere with no species modifier

* keeps diona burn mod the same

* changelog

* useless comments

* Celt a shit

* asdlfkjnasdkjfbasidbfaksjldnvaisdbfpaiusdhnfiasdf

* such a picky little
2016-06-20 15:59:13 -05:00
ComicIronic
11119d4d0b Moved reagent IDs to defines. (#10636)
* Moved reagent IDs to defines.

TODO: Convert xenoarch chems.

* Added xenoarch chem defines

* Fixed some bad chem names.
2016-06-19 15:43:37 -05:00
Shadowmech88
0c2ec12d2d Multiple Borers in a Single Body (#9066)
* Adds the ability for multiple borers in the same host. Adds upgrade paths for chest and leg borers.

* Fully implements the ability to have multiple borers in a single body, complete with unique chems, verbs, and genetic unlocks.

* Fixes to do with movement_speed_modifier, and some conflict resolution.

* Fixes some paths.

* Fixes conflicts.

* Fixes more conflicts.

* Inorganic limbs can no longer be infested. Removes arm borers' ability to produce creatine.

* Removes all mention of the term "cortical" from borers.
2016-06-16 20:34:02 -05:00
Shadowmech88
d8674e9320 Golems Are Now a Proper Race (#9274)
* Adds golems as a proper race.

* Adds golem name file.

* Fixes a couple names.

* Further fixes to names.

* Changes the golem language key from g to p.

* Adds groin states for golems, as well as deformed states for all golem limbs.

* Changes attack verb to "punches." Updates the changelog with more complete information as to the golems' capabilities.

* Adds some extra checks for golems. Golems can now walk over broken glass barefoot without being hurt.

* Fixes new macros.
2016-04-15 02:44:08 -05:00
dylanstrategie
bfd48c1a99 Adds admin-only "Inflict Cancer" button
* Get cancer and die

* Give Cancer added to VV

* Change process method again

* Restore that line

* When are we going to fix .gitignore ?
2016-04-02 13:39:28 -05:00
DrCelt
38d9742d7b Extremely important code refactor hotfix
Please merge this quickly before someone notices
2016-02-18 01:20:37 +00:00