Commit Graph

4226 Commits

Author SHA1 Message Date
Jared-Fogle
32a1525a23 Fixes destroyed non-human bodies cloning as humans. (#39099)
I really don't like my way of doing this but I don't know if there's something
more obvious I'm missing...
2018-07-21 04:02:56 +01:00
Ling
8d3a968344 Merge pull request #1810 from yogstation13/upstream-merge-39075
[MIRROR] Mood Code Improvements [Merge-Ready?]
2018-07-20 13:53:24 +02:00
Grandmother of 50
872817b70b Mood Code Improvements [Merge-Ready?] (#39075)
fix: having higher sanity is no longer punished by making you enter crit faster
balance: you can have 100 mood instead of 99 before it starts slowly decreasing


Remember higher sanity is BETTER

You want crit_modifier (now crit_threshold) to be LOW so you can stay in fights more (you go into crit at 5hp vs 0hp).

Why: Proc overhead, puts the load on mood, proper abstraction of mood component, values > defines, etc.
2018-07-20 00:32:44 +01:00
WJohn
7a5ee82b0c Updates the caravan space ruin. (#39182)
* Updates the caravan ruin to remove some of its equipment and re-add the 2nd fighter ship as was originally intended.

* Airlock naming, changed office chairs in dropship to shuttle chairs because they got flung whenever it took off.

* Removes the 2nd syndicate fighter as ninjanomnom will design a better system for it at a later date.

* Renames syndicate fighter to "shiv"
2018-07-19 19:10:33 +01:00
XDTM
dddf5702b5 [Ready]Fixes imaginary friend bugs, adds some QoL (#39008)
* Fixes imaginary friend bugs

* full fix

* mut app

* typo
2018-07-18 10:50:21 +01:00
Ling
b449b47efd fix the denti 2018-07-17 14:32:21 +02:00
Ling
48db4b83eb Gives offer control to mods 2018-07-17 11:40:04 +02:00
XDTM
3cf9b702fe 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 10:04:07 +01:00
vuonojenmustaturska
18dddfbaae Fixes emote runtimes (#39115)
Fixed some missing args in emote procs called with named args, leading to
runtimes.
2018-07-16 16:28:27 +02:00
Ling
13280d1eae Merge pull request #1740 from yogstation13/upstream-merge-38995
[MIRROR] Adds looping timers
2018-07-14 11:25:46 +02:00
Jordan Brown
2a0c138b63 Merge pull request #38995 from ninjanomnom/looping-timers
Adds looping timers
2018-07-13 23:25:43 +01:00
zxaber
36a92ca25e 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 23:19:18 +01:00
Emmett Gaines
165a9f7b28 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 09:31:42 +01:00
Ling
8fd1f30e46 Merge pull request #1707 from yogstation13/upstream-merge-39059
[MIRROR] Makes the squeak component slightly more horrifying
2018-07-12 23:02:42 +02:00
tralezab
e19d53fcae 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-12 02:53:44 +01:00
Jordan Brown
db5b8c37ed Merge pull request #39059 from ninjanomnom/haunting-squeaks
Makes the squeak component slightly more horrifying
2018-07-12 02:06:39 +01:00
Nich
28ca16d800 Merge pull request #1694 from yogstation13/upstream-merge-39006
[MIRROR] Unintentional emotes no longer complain while restrained or unconscious
2018-07-12 00:33:07 +02:00
Nich
3b1c93f59f Merge pull request #1686 from yogstation13/upstream-merge-38954
[MIRROR] Renames the squeak component file and cleans up a little registry
2018-07-12 00:32:00 +02:00
Jordan Brown
a3c3f54066 Merge pull request #39055 from ninjanomnom/shuttle-rotation-fixes
Fixes porta_turret and decal shuttle rotations
2018-07-11 20:12:29 +01:00
Jordan Brown
7d39c4e2e7 Merge pull request #39006 from XDTM/IHaveNoMouthAndIMustScream
Unintentional emotes no longer complain while restrained or unconscious
2018-07-11 19:40:27 +01:00
Emmett Gaines
2fc23f25ae Renames the squeak component file and cleans up a little registry (#38954) 2018-07-10 20:06:18 +01:00
Nich
4b9ede0c4c Merge pull request #1683 from yogstation13/upstream-merge-39017
[MIRROR] Adds time to explosions saved in the feedback table
2018-07-10 20:28:40 +02:00
Nich
bb7ae19dd9 Merge pull request #1682 from yogstation13/upstream-merge-39016
[MIRROR] Makes getrev not smoothbrain when there's no .git folder
2018-07-10 20:28:14 +02:00
Nick
000c412de0 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 18:57:59 +01:00
Jordan Brown
dd4be687e4 Makes getrev not smoothbrain when there's no .git folder (#39016) 2018-07-10 11:24:11 +01:00
AnturK
895711fb55 Drops DF_USE_TAG in core destroy. (#39012) 2018-07-10 10:22:59 +01:00
Jordan Brown
703d9c0943 Merge pull request #38938 from ninjanomnom/b-b-bump
Converts collide back to bump and fixes double bumping in another way
2018-07-09 19:51:07 +01:00
Ling
1bdfb1948f Merge pull request #1651 from yogstation13/upstream-merge-38962
[MIRROR] Cleans up the forced gravity component and makes it use signals
2018-07-09 14:35:35 +02:00
Ling
db6e383f39 Merge pull request #1647 from yogstation13/upstream-merge-38991
[MIRROR] Fix mood component signal registering
2018-07-09 14:31:46 +02:00
Emmett Gaines
838fd7ce50 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-09 06:02:05 +01:00
vuonojenmustaturska
51c58446cc 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 00:17:12 +01:00
subject217
9c681ac047 Fixes wires not making sound when pulsed/cut (#38958)
Switches the sound source from the wire datum to the holder
2018-07-09 00:14:51 +01:00
AnturK
66a30d7d79 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 20:30:01 +01:00
Nich
3dea77f698 Merge pull request #1639 from yogstation13/upstream-merge-38255
[MIRROR] AI detection multitools can show camera static and AI eyes
2018-07-08 08:24:33 +02:00
Cruix
73f4d04975 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 06:20:11 +01:00
Qustinnus
c6e806e9d8 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 02:51:10 +01:00
Trevor Serpas
6d395a672f 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 07:01:19 +01:00
Jordan Brown
4f4e129bc2 Merge pull request #38937 from AnturK/morequirkshit
Fixes quirk removal runtimes.
2018-07-07 05:05:19 +01:00
AnturK
7126ec8050 Cleans up other components destroys (#38930)
* wearertargeting destroy

* Why did these variables even existed.

* ....
2018-07-06 17:40:12 +01:00
Nich
86ab3aaa73 Merge pull request #1610 from yogstation13/upstream-merge-38649
[MIRROR] Converts antimagic from GetComponent to a signal
2018-07-05 18:22:00 +02:00
Emmett Gaines
b4ea1c1487 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 09:26:30 +01:00
Emmett Gaines
3e52d953af 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-04 22:56:50 +01:00
Nich
146a41352b Merge pull request #1596 from nichlas0010/fix-prs-again
Fix prs again
2018-07-04 02:38:11 +02:00
XDTM
45e5299219 better code 2018-07-04 02:07:28 +02:00
XDTM
26a1133683 Only advance diseases have a limit 2018-07-04 02:07:21 +02:00
ninjanomnom
cd31af843a Makes racks prevent throws as well 2018-07-04 02:05:48 +02:00
ninjanomnom
1b7243b56b Makes the magnetic catcher not catch objects thrown by mobs 2018-07-04 02:05:40 +02:00
ninjanomnom
9148814280 Shuttle throwing applies to all objects as opposed to just mobs 2018-07-04 02:05:31 +02:00
vuonojenmustaturska
1493e0edef Makes tear in the fabric of reality inaccessible until a boh bomb is detonated (#38852)
* a commit message

* reviews addressed?
2018-07-03 23:02:39 +01:00
Denton
d3651c0048 sponsored by Carls Jr. 2018-07-03 19:00:34 +01:00