Commit Graph

4070 Commits

Author SHA1 Message Date
XDTM 43184b87a5 Limb damage rework (#38436)
balance: Limbs no longer need to have full damage to be dismemberable, although more damage means higher dismemberment chance.
balance: Damaging limbs now only counts as 75% for the mob's total health. Bleeding still applies normally.
add: Limbs that reach max damage will now be disabled until they are healed to half health.
add: Disabled limbs work similarly to missing limbs, but they can still be used to wear items or handcuffs.


Fixes #38445


Always felt odd how reaching max damage on a limb had no consequence. Now it does.
Currently i only added effects for disabling arms and legs; "breaking" heads and torsos has no effect as of now.
2018-07-17 20:34:02 +12:00
vuonojenmustaturska 042ea5ea63 Fixes emote runtimes (#39115)
Fixed some missing args in emote procs called with named args, leading to
runtimes.
2018-07-14 13:20:50 -07:00
Jordan Brown f3932241c8 Merge pull request #38995 from ninjanomnom/looping-timers
Adds looping timers
2018-07-13 18:25:24 -04:00
zxaber 2fd4c921d6 Fixes MMIs in borgs dying to ash storms. (#39036)
* Fixes brain MMIs from being killed by ash storms.

Adds an istype brain check alongside the mech check for ash-storm proofyness. Brains don't really gain anything from being ash-proof outside of a bug fix,

* Update ash_storm.dm

Made it slightly better-good

* Update ash_storm.dm

* Update weather.dm

* Reverting to Orange's change

* Reverting to no change.
2018-07-13 18:19:17 -04:00
Emmett Gaines 44da4cb683 Makes magnetic catch cleaner in game (#38956)
Utilizes the new signal refactor to cancel throws before they happen. This prevents the silly spin even though the throw was stopped.
2018-07-13 10:31:30 +02:00
ninjanomnom d32d2869c0 Adds looping timers
and a requested binary search insert macro
2018-07-12 20:23:56 -04:00
tralezab 7ca74a8436 Var menu has a dropdown for granting martial arts. (#39049)
I was making a ninjutsu martial art, and I got really pissed that I have to
make specific snowflake items whenever I want to test a martial art, so I coded
a quick fix for that in the dropdown. Then, I realized that admins have to find
these same dumb snowflake art granters and so I decided to quickly make a new
branch and pr this.

Why: Way better way of doing martial art TC trades, hopefully saves some time
for our admins. Maybe helpful in setting up events.
2018-07-11 18:53:37 -07:00
Jordan Brown f77b38fb03 Merge pull request #39059 from ninjanomnom/haunting-squeaks
Makes the squeak component slightly more horrifying
2018-07-11 21:06:27 -04:00
Jordan Brown dd383873e3 Merge pull request #39055 from ninjanomnom/shuttle-rotation-fixes
Fixes porta_turret and decal shuttle rotations
2018-07-11 15:11:54 -04:00
Jordan Brown 2ee83a5bf7 Merge pull request #39006 from XDTM/IHaveNoMouthAndIMustScream
Unintentional emotes no longer complain while restrained or unconscious
2018-07-11 14:39:38 -04:00
ninjanomnom 20f015a2ea Makes the squeak component slightly more horrifying
The clown outfit got its hardcoded squeak on hit replaced with the component.
Objects which can squeak which are thrown in disposals will squeak when they hit bends in the piping.
2018-07-11 01:12:45 -04:00
ninjanomnom e274ff1b18 Fixes porta_turret and decal shuttle rotations
Also removes a related unused signal
2018-07-10 18:30:23 -04:00
Emmett Gaines 3c7bffc278 Renames the squeak component file and cleans up a little registry (#38954) 2018-07-10 15:05:28 -04:00
Nick 8acec65f47 Adds time to explosions saved in the feedback table (#39017)
* Exactly what it says on the tin. Adds time to explosions saved in the feedback table.

* Nevermind I want deciseconds

* Update feedback version

* Dumb ned
2018-07-10 13:57:37 -04:00
Jordan Brown 2462ed3820 Makes getrev not smoothbrain when there's no .git folder (#39016) 2018-07-10 13:23:59 +03:00
AnturK 68da76a05d Drops DF_USE_TAG in core destroy. (#39012) 2018-07-10 12:22:09 +03:00
Jordan Brown 96c92d5eb7 Merge pull request #38938 from ninjanomnom/b-b-bump
Converts collide back to bump and fixes double bumping in another way
2018-07-09 14:50:27 -04:00
XDTM b921a661ea Unintentional emotes no longer complain while restrained or unconscious 2018-07-09 11:21:22 +02:00
Emmett Gaines 9631eabbc3 Cleans up the forced gravity component and makes it use signals (#38962)
* Cleans up the forced gravity component and makes it use signals

* Suffer not a bool
2018-07-08 22:01:35 -07:00
vuonojenmustaturska 05146d27c8 Fix mood component signal registering (#38991)
Yeah uh, strings can't host components and these flat out just runtime at roundstart, leading to moods being flat out broken.
2018-07-09 11:16:35 +12:00
subject217 6fdab2e352 Fixes wires not making sound when pulsed/cut (#38958)
Switches the sound source from the wire datum to the holder
2018-07-08 19:14:26 -04:00
AnturK 6d4806fb3f Block OOC during cinematics (#38846)
Then again the spam is usually funny.

* Blocks OOC during fake nuke.

* Makes this work only with global cinematic calls.

* Defaults to stopping OOC for all cinematics.
2018-07-08 12:29:00 -07:00
Cruix 275aa2bfa2 AI detection multitools can show camera static and AI eyes (#38255)
The old color-change functionality of the multitool remains unchanged. The hud is toggled with an action button, because multitools already have an attack_self() that does something. When toggled on, you get the hud as long as the multitool is in any slot on your body.

The only way I could find to reliably show exactly where an AI is looking was to place an image on every turf they are looking at. Because AI eyes move around a lot and I do not want them placing images all over the place when they do not have to, if there is nobody in the world currently using an ai detection multitool, they will not update the images until someone is.

Only AI eyes and multicamera zones currently appear. Advanced camera consoles do not appear on the hud, and no longer trigger the proximity color change. Also fixed multitools not appearing in-hands if their icon state changed.
2018-07-08 17:19:55 +12:00
Qustinnus 284f90a3ab Makes some requested changes to mood (#38851)
cl Floyd
del: removed beauty / dirtyness
balance: Mood no longer gives you hallucinations, instead makes you go into crit sooner
/cl

oranges requested these changes, i havn't coded in DM for a while so I might have made some mistakes
2018-07-08 13:50:54 +12:00
ninjanomnom 059da44453 Converts collide back to bump and fixes double bumping in another way
This is in preparation for step_x support as the default behavior for these procs is necessary for proper functionality.

turf/Enter and atom/movable/Move default code got rewritten to replicate default byond functionality with minor changes.
2018-07-07 11:22:29 -04:00
Trevor Serpas bee0b5b2c3 Afterattack() Signal (#38606)
* adds signal and modifies each call of afterattack to call it's inherited proc

* uses new macro for sendsignal()

* map fuck

* skip precommithooks

* combine and negate 2 ifs
2018-07-07 02:00:25 -04:00
Jordan Brown af3369f651 Merge pull request #38937 from AnturK/morequirkshit
Fixes quirk removal runtimes.
2018-07-07 00:05:08 -04:00
AnturK e96d315f5e Cleans up other components destroys (#38930)
* wearertargeting destroy

* Why did these variables even existed.

* ....
2018-07-06 12:39:08 -04:00
AnturK 73dc1b4185 Fixes quirk removal runtimes. 2018-07-05 19:40:02 +02:00
Emmett Gaines 3167e2be86 Rewrites the antimagic component to properly use signals (#38649)
It's been updated to make use of the signal refactor and other code cleaned up. As a free side benefit I also made it work if applied to mobs directly.
2018-07-05 20:26:14 +12:00
Emmett Gaines 34a3d2da4d Refactors component signals registration (#38798)
Datums know what signals are being listened for and components can now be registered to listen for signals on more than one object.
2018-07-05 00:56:39 +03:00
vuonojenmustaturska 34c70340f9 Makes tear in the fabric of reality inaccessible until a boh bomb is detonated (#38852)
* a commit message

* reviews addressed?
2018-07-03 18:02:16 -04:00
Jordan Brown d631a0ded0 Merge branch 'pr-38513'
Signed-off-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2018-07-03 13:54:36 -04:00
Jordan Brown b83fba37c3 Merge branch 'pr-38777'
Signed-off-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2018-07-03 13:54:36 -04:00
Jordan Brown 5aa735160a Merge branch 'pr-38876'
Signed-off-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2018-07-03 13:54:32 -04:00
Dax Dupont d577ab0372 Makes bags of holding gib the user on boh detonation (#38737)
It doesn't seem right the user of a boh explosion gets off scott free especially when they just climb the ladder and use a hand tele, mine a little or whatever.

At least with autocloners there needs to be a autocloner and some more effort than printing two bags.
2018-07-03 12:57:48 +12:00
Denton 23a1bdb8c0 sponsored by Carls Jr. 2018-07-02 20:40:53 +02:00
AnturK 74ce12deff Fixes simple rotation component deletion (#38825)
* Fixes simple rotation component deletion

* Also remove verbs on destroy.
2018-07-01 13:58:43 -07:00
XDTM 4777687fd8 Potentially fixes monkey fever runtiming on infection (#38776) 2018-07-01 00:56:10 +03:00
Jordan Brown 26b6fab1fe Merge branch 'pr-38604'
Signed-off-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2018-06-28 14:22:03 -04:00
AnturK 5d8bec2fe2 Removes unused mind variables. (#38755)
* Removes unused mind variables.

* Also this is why it didn't runtime.
2018-06-28 04:25:34 -04:00
XDTM 549f5ceea6 better code 2018-06-28 10:18:44 +02:00
XDTM c20abb1586 Only advance diseases have a limit 2018-06-28 09:33:28 +02:00
oranges 6827d79a6b Merge pull request #38673 from ninjanomnom/kevin-cleanup-crew
Some uplink component GetComponent cleanup
2018-06-27 20:54:33 +12:00
Tad Hardesty de205b5517 Fix pocket protectors (#38665) 2018-06-26 16:44:52 -04:00
ShizCalev 89752866aa Merge branch 'master' into spellcheck 2018-06-26 16:43:41 -04:00
Tlaltecuhtli fad28854d3 fixes tourettes being cancer (#38682)
Prevents tourettes from stacking
2018-06-25 21:20:10 -04:00
ninjanomnom bbb4147aa2 Some uplink component GetComponent cleanup 2018-06-23 01:41:34 -04:00
Jordan Brown 2a005fd2e8 Merge pull request #38642 from AutomaticFrenzy/patch/hreftoken
Add a missing HrefToken in VV
2018-06-22 10:47:05 -04:00
oranges bc272c89fa Add logging to teleport and the teleporter destination setting (#38645)
Helps with some admin issues
2018-06-22 00:33:36 -07:00