Commit Graph

8885 Commits

Author SHA1 Message Date
TehZombehz 492c79edcf Fixes plastitanium false wall icons updating to the wrong icon (#22747)
This affects all false walls, but only plastitanium false walls are
affected because it's initial icon is not named 'wall', it's named
'wall3' which, in the dmi file, is the same as titanium, causing the
false wall to reset to the incorrect icon.
2017-01-06 16:54:46 -05: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
oranges 3a77966186 Merge pull request #22728 from XDTM/MechHole
Fixes wormholes not being usable by mechs
2017-01-06 09:58:29 +13:00
oranges b32061ea37 Merge pull request #22727 from XDTM/PocketShoes
Fixes storage pockets preventing the use of items on the clothing item
2017-01-06 09:57:45 +13:00
Haevacht 044adf9446 Fixes the crusher, and future twohands required items, equipping to slots (#22712)
* If plants have slotflags they can now be equipped

* now you can have more than one slot_flag
2017-01-06 09:54:50 +13:00
oranges f21b077adc Merge pull request #22698 from ChangelingRain/supermattercount
The supermatter now has a ghost-visible damage display
2017-01-05 19:09:28 +13:00
CPTANT a60172ecf5 Rebalances matter cartridge cost (#22687)
* fixes blocks being applied twice

* revert

* Rebalances matter cartridge cost to prevent material duplication
2017-01-05 19:07:08 +13:00
Haevacht 2e93eeea51 Offhand backup plan (#22679)
* no longer asks the offhand to neatly unwield

should fix the issues??

* re-callbacks the sky bulge

* revert the qdel
2017-01-05 19:05:25 +13:00
Firecage 8dab2c9c34 Changes the names of Circuit Boards so they are easier on players. (#22688) 2017-01-04 17:20:53 -05:00
XDTM babe7a6aa6 Fixes portals not being usable by mechs 2017-01-04 15:56:50 +01:00
XDTM 397f440e10 Fixes pockets 2017-01-04 15:18:16 +01:00
Firecage 50bbf5aa50 Allows syringes and droppers to show their reagents when examined while wearing things such as Science Goggles. (#22618)
* Allows syringes and droppers to show their reagents when examined.

* rearranges my logic

* replaces SEMIOPENCONTAINER with TRANSPARENT

* Silly spelling error fix.

* Moves the defines from flags to container_type to avoid issues with conflicting flags

* changes it back to obj/item/O

* Moves the OPENCONTAINER and TRANSPARENT defines to the reagents.dm
2017-01-04 20:00:46 +13:00
Mervill 422d869a40 [s] Fixes spraycans being silent (#22682)
* The regular spraycan makes noise again, also spraying someone in the face is loud

* There are more then 80 columns in the world today, friends
2017-01-04 19:42:39 +13: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 c0bdb982f3 Merge pull request #22671 from Mervill/owo_whats_this
Makes parcel descriptions less confusing
2017-01-03 22:25:29 -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
Joan Lung a4dfe50f75 The supermatter now has a ghost-visible damage display 2017-01-03 17:02:28 -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
Mervill 01202447df Can't kick racks if weakened, resting or lying (#22640)
* Can't kick racks if weakened, resting or lying

* you gotta have two legs, too
2017-01-04 07:59:21 +13:00
TehZombehz 96b6cd36d7 Adds key logging to abandoned crate explosions (#22644)
* Adds key logging to abandoned crate explosions

Adds key logging to abandoned crate explosions in order to determine who
detonated an abandoned crate.

* Moves logging under user check

User logging only occurs if there's a user to log.

* Minor grammer update

The potential for 'has detonated a abandoned crate' bothered me.
2017-01-04 07:56:02 +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
Joan Lung feede86b09 Adds a proc for duplicate-avoiding associated list keys (#22608)
* Adds a proc for duplicate-avoiding associated list keys

* neat
2017-01-04 07:30:46 +13:00
Mervill 49d51da5c5 adds weightclass2text(), updates package names based on item size 2017-01-02 18:02:40 -08:00
Cruix ba1ff745b1 Fixed being able to pull lockers out of wrapping paper (#22648) 2017-01-02 16:58:01 -05:00
Cheridan d92c8aaa8d Merge pull request #22635 from Mervill/bibleupdate
Basic canUseTopic check for the bible, removed dead code
2017-01-02 08:18:42 -06: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
Cheridan e9b66c7c7e Merge pull request #22600 from Supermichael777/FUCK
Tesla shocks from grilles now consume power
2017-01-02 00:19:57 -06:00
Mervill 0c1fce9987 organize the code a bit better 2017-01-01 06:07:49 -08:00
Mervill 94a5a4be10 Basic canUseTopic check for the bible, removed dead code 2017-01-01 05:53:49 -08:00
XDTM 1e96ccddb3 Reduces lag caused by bags (#22562)
* Prevents message spam and lag

* Typecache and less rustling

* enforcement go home
2017-01-02 02:11:42 +13:00
Supermichael777 38fa5d1e1a GOOFBALL 2016-12-30 16:41:04 -05:00
Supermichael777 e16e0c9712 OOOOPS 2016-12-30 15:53:36 -05:00
Cheridan 2b829bc3c8 Merge pull request #22549 from ChangelingRain/theweirdestsortoffix
Fixes not being able to light thermite on clockwork walls with a welding tool
2016-12-30 11:18:24 -06:00
Joan Lung 27896031f0 Fixes not being able to light thermite on clockwork walls with a welding tool 2016-12-28 22:35:37 -05:00
Cheridan 08e8a31083 Merge pull request #22516 from Cruix/twohanded_fix_two
Fixed offhands being dropable
2016-12-28 19:58:50 -06: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
coiax 570cc49db4 Cyborg reboot board tweaks (#22508)
* Cyborgs reboot board tweaks

- Cyborgs now play the "I LIVE AGAIN" noise when rebooted, to give a
little bit of audio feedback.
- We use the grab_ghost() proc, because it's standardised.

* Only play the sound if the cyborg has a mind
2016-12-29 10:12:57 +13:00
Joan Lung 9822bad04c Alien Weeds now work off of process() (#22507)
* Alien Weeds now work off of process()

* slow down regrowth on destruction
2016-12-29 10:12:44 +13:00
RandomMarine 4f8bf3e614 Catwalks now drop two rods when deconstructed. Also fixes metal duplication exploit. (#22488)
* catwalks now drop two rods

* fixes closets dropping more metal than takes to build
2016-12-29 10:06:14 +13:00
oranges 7ba57895fe Merge pull request #22486 from Firecage/C4_X4_on_mobs
Fixes issue where X4 and the different C4 could be placed on non-carbon mobs.
2016-12-28 12:37:06 +13:00
unknown b61512cb9e Fixed offhands being dropable 2016-12-27 14:10:11 -06:00
oranges b7fb6eca98 Merge pull request #22480 from ChangelingRain/convertfix
Fixes a bug
2016-12-28 08:58:36 +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
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
Firecage 8e29b6bb9e Fixes issue where X4 and the different C4 could be placed on non-carbon mobs. 2016-12-27 00:53:59 +02:00
Cruix 20394282ff Fixed some two-handed weapon bugs (#22457)
* Fixed being able to hold twohanded-required items in one hand
Fixed dualsabers changing their weight_class and hitsound when unsuccessfully wielded

* Fixed ctf flags being unpickupable
2016-12-27 09:13:46 +13:00
Joan Lung 21d01c3669 Fixes a bug 2016-12-26 14:30:13 -05:00
oranges 58e21ba5a8 Merge pull request #22433 from lzimann/lzimann-patch-1
Fix lollipop dispenser message
2016-12-26 14:39:49 +13:00
Lzimann 7bf4aea58b Merge branch 'master' of https://github.com/tgstation/-tg-station into datumemotes 2016-12-25 13:22:56 -02:00