Commit Graph

8233 Commits

Author SHA1 Message Date
Kyle Spier-Swenson
280dbe20c3 [Ready] SSthrowing + callbacks! (#22476)
* SSthrowing + callbacks!
Throwing is now a subsystem.
It's low priority, but is a ticker subsystem so is ran before most other subsystems.
To allow for shit to run after the throw finishes, throwing now supports a callback.
A callback datum system was created, conversion of addtimer is planned for another PR.
Throwing now has a limit of 2048 turfs (was 600)
Throwing now ticks every world.tick, and properly converts the speed arg from 1ds to what ever tick_lag is.
Throwing now properly accounts for missed ticks.
Throwing no longer uses sleep.
Throwing should no longer lag since it's not filling the sleep queue up

* Smoother tentacles

* Some improvements

* Missed a spot.

* Makes shit quicker.
Inlines the thrownthing.tick() proc.
Raises missed ticks value
Lowers max dist value
Inlines the two sister overrides for /atom/movable/Moved() because that just seemed like a waste

* >PRs open that use procs i'm removing.

* STOP THE PRESSES!

* throw_at now runs the first throw tick() immediately
This will help some with throwing while running.

* Item throwing now imparts the momentum of the user throwing.

(ie, running in the direction you are throwing makes you throw faster, running away from the direction you are throwing makes you throw the item slower)

* Moves throwing momentum from carbon/throw_item to movable/throw_at.
There are other things that cause a mob to "throw" an item, I figured we keep this universal since thrower is already an arg.

* Explosions throw shit faster.
This was stupid, "Hey, lets set the item's throw_speed to 4 so embedding works, but lets make it throw at the base 2 throw speed for no reason."

* Fixes explosion embedding.
This also acts as a nice example of how to override a callback in an override of throw_at properly.
2017-01-02 20:08:03 +11:00
Joan Lung
1a067f5944 Ratvar no longer converts corpses or sets corpses on fire (#22615) 2017-01-01 23:32:00 -05:00
oranges
078e9ff97f Merge pull request #22593 from Firecage/The_Hooded_Hoods
Fixes hoods dropping when suiciding/being beheaded.
2017-01-02 02:14:02 +13:00
Cheridan
4c7cdc35e3 Merge pull request #22599 from Firecage/secret_monkey_technique_#5
Fixes the issue where a newly cloned body could have their retardation removed via H2M2H
2016-12-31 17:46:13 -06:00
Cheridan
72ade9c067 Merge pull request #22590 from Supermichael777/Spiders-of-death
Makes spiders incapable of wraping anchored atoms
2016-12-31 14:59:36 -06:00
Firecage
14b659d36d Fixes the issue where a newly cloned body could have their retardation removed via H2M2H 2016-12-30 20:49:37 +02:00
Firecage
2f4711ea6d Changes how hoods of hooded clothing functions...kinda. 2016-12-30 13:34:10 +02:00
Supermichael777
ed14d1b026 Weigh anchor 2016-12-29 23:19:46 -05:00
Joan Lung
8765bcade3 Fixes some emote bugs and grammar (#22538)
* Fixes some emote bugs and grammar

* no message

* hup
2016-12-29 15:24:07 +01:00
Cheridan
d6cc0a9f81 Merge pull request #22518 from Cruix/abstract_stripping
Fixed being able to strip abstract items
2016-12-28 18:07:27 -06:00
Joan Lung
11f4f48691 Merge pull request #22370 from XDTM/VoiceOfGod
[Ready]Voice of God, a new colossus reward
2016-12-28 17:43:00 -05:00
bgobandit
e9544b8bec Fixes spelling and misleading messages (#22512)
* Fixes spelling and shit

* satiates the kor, fixes more typos/grammar issues

* spelling madness

* I'm mad with spelling power
2016-12-29 10:14:01 +13:00
oranges
f73c546536 Merge pull request #22494 from AnturK/churn
Reduces AB overlay updates
2016-12-29 10:09:17 +13:00
kevinz000
6411bdfbba [READY]Fixes flightsuits without making the game shit itself (flightsuit patch 3 v.2) (#22473)
* Update flightsuit.dm

* cheaper speed calculations and fixes inability to land

* ...

* .

* ...

* ..

* Update flightpacks.dm

* hmmm~

* parts_replacement

* woops

* number_tweaks
2016-12-29 09:17:44 +13:00
AnturK
8bb8d924b6 Reduces AB overlay updates 2016-12-28 14:16:32 +01:00
unknown
468c3ef0cd Fixed being able to strip abstract items even though you could not see them in the strip panel 2016-12-27 16:08:45 -06:00
Joan Lung
2748b812b8 Misc Guardian changes (#22434)
* Chaos guardians now ignite on attack and cause a hallucination on bump

* hup

* bleh.
2016-12-28 09:04:50 +13:00
Firecage
7587c141d7 Divides species_types.dm into different files due to code bloat (#22461)
* Divides species_types.dm into different files due to code bloat

* Moves slimepeople code into jellypeople code.

* changes several |= to -=
2016-12-28 09:03:14 +13:00
Joan Lung
2d72994cf8 Merge pull request #22405 from lzimann/datumemotes
Refactors the emote code into emote datums.
2016-12-27 11:19:10 -05:00
Lzimann
520f7db110 Adds a new proc, select_param, you can override it if you need specific checks in the param selection. 2016-12-27 14:05:39 -02:00
Lzimann
5a585fc124 Removes some leftover debug messages.
Aflap is now a child of flap, each having a wing opening/closing timer, also improved the code there a bit.
Adds a stat_allowed var(all emotes are default to CONSCIOUS).
2016-12-27 07:44:49 -02:00
Joan Lung
2c39711ab5 New Hierophant sprites (#22404)
* New Hierophant sprites

* actual boss sprites: MAYBE

* byond does not actually catch this error

* anomaly

* I'm a sucker for stupid-ass puns
2016-12-26 19:30:37 -05:00
Joan Lung
5aca68ccdf Wizards can now buy magic guardians for 2 points (#22435)
* Wizards can now buy magic guardians for 2 points

* a touch of wizard handling
god damn it spell magic men

* i swear i removed that

* asshole thaumaturge

* this is a good time to not mindswap you idiot, you fool
2016-12-26 19:13:00 -05:00
oranges
1dff0b8457 Merge pull request #22442 from coiax/fix-22424
[FIRST OF THE FREEZE] Animals no longer heal in space
2016-12-26 14:54:01 +13:00
oranges
382342b561 Merge pull request #22444 from XDTM/MedHUD
Fixes HUD implants
2016-12-26 14:41:47 +13:00
Lzimann
d0fa89a452 Adds a way to override emote_type(mainly for custom emote). Also moves the implant trigger to all livings instead of carbon only. 2016-12-25 17:32:19 -02:00
Lzimann
7bf4aea58b Merge branch 'master' of https://github.com/tgstation/-tg-station into datumemotes 2016-12-25 13:22:56 -02:00
Joan Lung
95af0534f6 MMI'd clockcultists put in AI cores will properly lose clockcult status (#22369)
* MMI'd clockcultists put in AI cores will properly lose clockcult

* uuuuugh

* fix the core while we're at it

* "

* mrrp

* this will also follow you around

* hmm
2016-12-25 16:18:55 +13:00
oranges
41a9f7d293 Merge pull request #22387 from ChangelingRain/borgspear
Fixes cyborg ratvarian spears breaking
2016-12-25 16:18:36 +13:00
oranges
2e936a0db7 Merge pull request #22425 from Shadowlight213/branchnametbd
Fix bundle
2016-12-25 16:14:33 +13:00
XDTM
751be17523 Fixes HUD implants 2016-12-24 23:44:44 +01:00
Jack Edge
3c3e8cfd43 Animals no longer heal in space
Fixes #22424.

My bad, it turns out adjustHealth() adjusts health DOWN.
2016-12-24 22:09:48 +00:00
AnturK
85669e6746 Implants work on /living mobs (#22392) 2016-12-24 13:44:34 -05:00
Cheridan
35362048c0 Merge pull request #22382 from ChangelingRain/uncompromising
Sentinel's Compromise will no longer heal toxin damage on slimepeople
2016-12-24 11:44:55 -06:00
Shadowlight213
5dd264102e Adds arrival shuttle to radstorm protected areas
Fixes spider structures having null armor
Fixes division by 0 with hellcan
Fixes runtime in automatons
Fixes runtime with recharger in modular computer destroy
Fixes runtime in power monitor
2016-12-23 18:50:10 -08:00
Lzimann
b1f445ece6 Adds the help emote and removes debug messages. 2016-12-23 23:45:01 -02:00
Kyle Spier-Swenson
92cb0e668b [s]Throttles botcall's call bot command (#22409)
* Throttles botcall's call bot command

It will now make the ai wait until the bot's astar operation has finished before it can send another call bot command (to any bot).

There is a secondary time out of 90 seconds in case the astar operation just never returns, this is mainly a failsafe, the longest astar operation i've seen is 47 seconds.

* Update ai.dm
2016-12-24 13:18:58 +13:00
Lzimann
350bc7d597 Finishes brain emotes
Fixes simple animal attacks(when no damage)
Re-adds sounds to some alien emotes.
2016-12-23 20:12:43 -02:00
XDTM
5f826822b4 truthy falsy 2016-12-23 20:57:34 +01:00
XDTM
629d11a459 V 2016-12-23 20:27:38 +01:00
XDTM
fd8f0f187e Genericifixizipified code, now works by using .x before speech. 2016-12-23 20:18:46 +01:00
Lzimann
2e6ceafc3b Forgot some files. 2016-12-22 20:40:01 -02:00
Lzimann
b3c83baf42 Refactors the emote code into datums. 2016-12-22 20:28:41 -02:00
kevinz000
2c742c2114 [Ready] FLIGHTPACK PATCH 2 - PROBABLY CONTAINS LARGE AMOUNTS OF SHITTY CODE (#22135)
* ayylmao

* MEKHI JUST GOT A SUBSYSTEM

* ..

* ...

* airlock_bullshit

* ...

* stuff

* kek

* fuq

* fuck...

* GAHH

* finalcommitifucking swear ree

* update

* ...

* honk

* honk

* proc

* update

* fixed
2016-12-23 09:40:48 +13:00
Haevacht
b2cf57b555 flan fix+update (#22371)
no longer invisible half the time also now with deadsprites
2016-12-23 09:38:31 +13:00
oranges
2454156ff0 Merge pull request #22353 from ChangelingRain/saylogged
say_log now has timestamps
2016-12-23 09:34:33 +13:00
coiax
dabcce81ed CTF guns only hurt mobs with CTF armor (#22284)
* CTF guns only hurt mobs with CTF armor

This is moving towards the possiblity of spawning CTF spawns and flag
spawns onto the station without people being caught in the crossfire.

* Debug messages are bad
2016-12-23 09:31:55 +13:00
coiax
243fd295b4 Cyborg upgrade board tweaks (#22211)
* Cyborg upgrade board tweaks

🆑 coiax
add: Cyborg renaming boards cannot be used if no name has been entered.
del: Cyborg rename and emergency reboot modules are destroyed upon use,
and not stored inside the cyborg to be ejected if modules are reset.
/🆑

Reasons: Because being renamed "default name" isn't fun, and it means
you have to hang around to be renamed AGAIN. And for lore/balance/sanity
reasons, you don't get to get the reboot board back after you used it;
try dying less.

* Naming changes, and transformer tweak

- A new unnamed cyborg will copy the user's prefered cyborg name if
possible, defaulting to the old format if there's no preference.
- A rename board with no setting will apply the cyborg's default name,
if one exists, see above.
- Cyborg transformers (from the traitor AI) will no longer destroy all
items.

* Made behaviour more consistent

* Fix spelling
2016-12-23 09:31:03 +13:00
Joan Lung
bdee8e9c77 Fixes cyborg ratvarian spears breaking 2016-12-21 12:25:24 -05:00
Joan Lung
6bcba9d718 This is, in fact, way easier 2016-12-21 10:14:59 -05:00