Commit Graph

8262 Commits

Author SHA1 Message Date
oranges 1753f793c9 Merge pull request #22744 from KorPhaeron/aliens2
Fixes alien inventory not updating when toggling spit
2017-01-07 19:39:23 +13:00
oranges eb0aad18fa Merge pull request #22742 from KorPhaeron/alarm
Fixes cyborgs making strange sounds when empd
2017-01-07 19:38:58 +13:00
TehZombehz 8cc9e6de50 Adds regenerate_organs proc and adds it to relevant regeneration code (#22740)
* Adds regenerate_organs proc to carbon and adds it to relevant regeneration code

I simply took the bit from the admin heal and made it into a proc and
added it to the necessary regeneration-related bits of code.

* Adds regenerate organs back to fully heal

For some reason this didn't get included in the previous commit.

* moves regenerate_organs to organ_internal

As suggested. It fits better here, anyways.
2017-01-07 19:38:29 +13:00
Trugath 4105ca9ea6 Tgmonkey (#22338)
* Monkeys are a bit more of a handful
They will aggro, steal, pick up weapons and stuff bodies in disposals

* search using held_items instead of manually

* Only natural monkies should reliably stun
Natural monkies don't try to stun-lock

* Pushes equip_in_one_of_slots to carbon from human

* Removed unused helper.

* Make the trip and stun only against monkeys
The main reason this is here is for the swarm behaivour.

* Just return true for now. It should flee on next life tick.

* remove blocking call from Life

* stuff_mob_in blocks so make it non-blocking

* add check to stop add/remove in same function
Only occours if the monkey attacks someone who isn't in the enemies list.
This only happens during a monkey swarm. Best to check.

* Fix for monkeys ripping stuff off walls.

* Moved shared emote/weaken down into living
Called the new function knockOVer. Monkey and Secbot both have different
control flow before the shared code.

* Stop monkeys fighting over body

* Remove commented out code

* Reduce flee range

* replace spawn with addTimer by moving code into callbacks

* Move magic numbers to defines
Also removed 900 delay in resisting cuffs as its a useless argument

* Refactor. Attacking has a function: monkey_attack
Combined de-aggro into it

* rework monkeyDrop to force drop
Also check for deleted items when snatching items

* Aggresive can be toggled by an admin
Allows for a mass mob of angry monkies

* Tweak aggressive monkeys to attack each other less
Monkey vs Monkey probability is a define
Warning: Once MVM combat breaks out in large mobs, mayhem insues

* Set the monkey back to idle once it attemps to dispose the body

* fix for aggressive monkeys self-harming

* comment wording fix

* changed walk2derpless to a callback and fixed deathgrip
2017-01-06 14:59:37 +01:00
Cheridan 73814c2274 Merge pull request #22717 from optimumtact/accordingtoallknownlawsofaviationthereisnowayabeeshouldbeabletofly
Fixes fly person species name
2017-01-05 00:18:00 -06:00
oranges 55802bc1dc Merge pull request #22709 from Cruix/camerachunks
Fixed the leftmost and bottommost 15 turfs not having camera static
2017-01-05 19:11:04 +13:00
oranges 8aec8576f2 Merge pull request #22708 from PKPenguin321/patch-5
Fixes people getting thrown into themselves
2017-01-05 19:10:51 +13:00
oranges fcc1b31913 Merge pull request #22531 from MrStonedOne/ter13ping
Adds client ping tracking, courtesy of ter13 of byond forums.
2017-01-05 19:09:02 +13:00
oranges 31cc9cf4ea Merge pull request #22697 from ChangelingRain/emotefix
Slime emotes no longer share keys with some standard emotes
2017-01-05 19:07:48 +13:00
Haevacht 98215fc336 Fixes being able to screw the taser into ED209s multiple times (#22680)
* sleepisthedevil

* thekorfix hehe, core fix

* no more turf check, my bad
2017-01-05 19:06:00 +13:00
KorPhaeron 1a6e924106 Fixes alien inventory not updating when toggling spit 2017-01-04 18:15:36 -05:00
KorPhaeron f7eaa7bca7 Fixes cyborgs making strange sounds when empd 2017-01-04 18:02:13 -05:00
coiax 66f6ac7dcc Positronic brains no longer override examine() (#22686)
It was weird that you didn't see the size of the item when you examined
it. Now its messages are added after the usual examine stuff.
2017-01-04 12:17:09 +01:00
oranges a133f4ea86 Fixes the flyperson species name 2017-01-04 06:38:38 +00:00
oranges 3607645380 Merge pull request #22693 from MrStonedOne/revert-22577-ACKACK
Revert "Fixes AIs being able to see cult runes"
2017-01-04 18:38:16 +13:00
Joan Lung 40986132d2 Merge pull request #22596 from XDTM/NowListenClosely
[Ready]Several Voice of God fixes
2017-01-03 22:27:57 -05:00
Kyle Spier-Swenson bee4b132a3 [READY]Makes addtimer use callbacks (#22660)
* Makes addtimer use callbacks

* I broke the comment

* I fucked up the regex

* this was a silly idea.
2017-01-04 16:02:56 +13:00
PKPenguin321 1df100db5a fixes people getting thrown into themselves 2017-01-03 18:19:43 -08:00
unknown 58a30d1f6e Fixed the leftmost and bottommost 15 turfs not having camera static 2017-01-03 18:53:00 -06:00
XDTM 9337cea937 defines 2017-01-04 00:22:19 +01:00
Joan Lung 8e453c31dc Slime emotes no longer share keys with some standard emotes 2017-01-03 16:39:19 -05:00
Kyle Spier-Swenson bb9c1cb98e Revert "Fixes AIs being able to see cult runes" 2017-01-03 12:28:56 -08:00
Cyberboss ed461afed5 Fixes AIs being able to see cult runes (#22577)
* Remove this shit so fast

* Runes are now stored in a global list

* Readd this shit to properly work

* Refactor rune invisification into a proc

* Fixes #17426

* Use the blood decals

* Less garbage + removal

* COMPILE BEFORE PUSH YOU SPERGLORD

* Refactor into a datum

* Added to crayon runes

* Refactor AI's vision to a slightly lower level

* Actually make the shit invisible to ais

* Nevermind, fixed it

* Fixes it being on the wrong layer
2017-01-04 08:09:34 +13:00
Joan Lung 36eeb75770 Indestructible turfs are no longer affected by necropolis tendrils or the lava staff (#22641)
* Indestructible turfs are no longer affected by necropolis tendrils or the lava staff

* a better proc name
2017-01-04 07:59:39 +13:00
Joan Lung 624ea1352c Adds a wrapper for flick_overlay() (#22642)
* Adds a wrapper for flick_overlay()

* are you sure
2017-01-04 07:55:45 +13:00
Haevacht b0e26a798e Flan Refactor + spellaftereffects (#22589)
* Splits the water flan away from the base and adds spellaftereffects

* updates the tomb

* fixes them dying in spess thanks joan

* slowly learning how procs work

now with 100% less trailing returns, fire flans extinguishing and 100%
more comments about varedits
2017-01-04 07:31:06 +13:00
Cruix 9a612633f2 Fixed synths being invisible if they assumed the disguise of a species with a limbs_id (#22647) 2017-01-03 10:10:30 -05:00
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
XDTM cc6e84b752 Fixes 2016-12-30 16:01:17 +01: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
MrStonedOne 998a78200a Adds client ping tracking, courtesy of ter13 of byond forums. 2016-12-28 02:28:22 -08: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