Commit Graph

304 Commits

Author SHA1 Message Date
Cyberboss e9b01e6f4f Kills off an arbitrary number of spawn()s (#24730)
* Kills off an arbitrary number of spawn()s

* Fix the shit
2017-03-08 09:44:24 +13:00
Lzimann e58ee1724f Refactors logging into a single var for all mobs and adds a wrapper for proper logging. 2017-03-04 13:32:35 -03:00
Cyberboss a14147c750 Mobs will no longer be shown empty memories 2017-02-27 10:43:01 -05:00
MrPerson f4e768c895 Ion storm improvements (#24223)
* Ion storm improvements

Ion storms have several new additions:
25% chance to flatly replace the AI's core lawset with something random in the config. Suddenly the AI is Corporate, deal w/ it.
10% chance to delete one of the AI's core or supplied laws. Hope you treated the AI well without its precious law 1 to protect your sorry ass.
10% chance that, instead of adding a random law, it will instead replace one of the AI's existing core or supplied laws with the ion law. Otherwise, it adds the generated law as normal. There's still a 100% chance of getting a generated ion law.

All of these stack so you could wind up going from Asimov to Paladin w/o the first law and w/ the last law replaced with THE SHUTTLE CANNOT BE CALLED DUE TO FIVE NINJAS. All the values are easy to tweak if you guys want them higher or lower or whatever.

Custom admin-sent and other fake ion storms (devils) will just add the law and have no chance of doing any of the bonus stuff.

Removed the admin verb to send an ion storm since you can just use the events panel.

Cleaned up some of the law-adding backend. Hopefully there's no double showing of the AI's laws after a lawchange as a result of this.

* Everyday I'm shufflin'
2017-02-22 13:31:04 +01:00
kevinz000 0ced9342b9 [READY]Aimable wizard lightning bolts (#23723)
* ZAP!

* YOU DID NOT SEE THAT

* YOU DI NOT SEE THAT 2

* object orientated pr

* gdi

* protection

* object orientated pr v2

* REEEE

* blacklists

* Update magicarp.dm
2017-02-08 18:31:52 +13:00
Cyberboss 3f7f5d4000 Removes/Refactors /mob/unEquip (#22918)
* Part1

* IT COMPILES!!!!

* Fuck wait this was missing from that last

* Update handlabeler.dm

* Update handlabeler.dm

* Fixes n shit

* Fix this

* Fixes #23310

* Fucking @RemieRichards was right

* Fixes devil unEquip

* WTF ARE BITFLAGS?

* THERES THE FUCKING PROBLEM

* Fixes
2017-01-31 09:28:31 +13:00
Cyberboss f7c9749ca0 Fixes some bad addtimer calls. Adds INVOKE_ASYNC. Replaces addtimer(..., 0) (#23424)
* Fixes some bad addtimers

* Adds INVOKE

* Warning for addtimer

* Working syntax

* Another bad call

* Fixes the addtimer warning

* Add suppress_zero_warning to addtimer

Useful for addtimer that uses vars

* Add INVOKE_AGAIN for when the var is already defined

* Replace addtimer(...,0) with INVOKE((...))

* Much more sensible syntax

* Less overhead, less copypaste

* Rename INVOKE_ASYNC

* Use a macro

* Allman style

* Wait, why make it a datum in the first place?

* Revert the rename

* Rename again, keep line endings

* typo

* More typos

* Untouches Addtimer

* Update callbacks.dm

* Update timer.dm

* Revert allman style

* Revert "Revert allman style"

This reverts commit 47361da15bd04eca138be5f13acdc9dd5ba89331.

* Trying to match that whitespace diff

* Why is this missing?

* I'm not fucking dealing with this!
2017-01-31 09:20:54 +13:00
Cruix 15b2423f70 Fixed putting pais in bots and using mindswap improperly removing data huds (#23099) 2017-01-19 12:27:51 +01: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
Supermichael777 64ab376212 Makes the checks used by bibles better (#22171)
* makes these checks more flexable

* oh hai mark

* praise jesus

* magicaly a better understanding of how to structure if checks lets me cut 2 lines

* wew

* spellcheck

* i shoudent code drunk

* weeeeew

* llllllaaaaaadddddd

* madcusbad

* i realy should learn desktop git

* wew

* Im just so sorry

* because we can't be having the power of atheism melting clockcult.
2016-12-19 11:34:57 +13:00
XDTM ece186240b Fixes podcloning headless people (#22008)
* Blood for the plant god

* Professional debugging code

* New Deal
2016-12-09 09:08:30 +13:00
lordpidey 499cb6c7db Minor devil fixes (#20770)
* Replaces OBLIGATION_DRINK with a much more appropriate fiddle reference
Attempting to clone soulsellers no longer works.  Fun things happen if you try.
Fireproof paper no longer becomes unreadable on burning.
Made a generic "Conjure item" spell as a superclass for the summon pitchforks.  These spells summon/unsummon an item directly into your hand.
You can no longer spam ghosts with the infernal revival contract.

* Adds the sprites for the golden violin

* Fixes compile error.

* Small changes for AnturK

* I speel gud.
2016-10-18 08:45:45 +02:00
phil235 f6db08af2e Contents_explosion() tweaks (#20934)
* When any object is hit by an explosion, we no longer always call ex_act() on all its contents indiscriminately.
The default contents_explosion() does nothing and it's overriden for certain objects only like storage items, machines with occupants, mechs.

I've also overriden handle_atom_del() for many objects so that any sudden deletion of an object referenced in an object var of its container properly nullifies such references, avoiding potential runtime and updating the container's icon_state (e.g. admin-delete a mixer's beaker and the mixer's sprite updates immediately).

I've tweaked bomb effect on worn clothes, having some armor but not 100% now still protects your clothes somewhat.

Fixes some arguments of ex_act in living/ex_act() and other mobs.

* derp and map fixes.

* dem map fixes, man.

* More work on code that use implants, simplified now that we can use the "implants" carbon var.

* some fixes

* more typos and fixes.
2016-10-16 10:01:37 +13:00
Joan Lung 9c93fb8b59 Removes the mob "memory" var (#20814)
* Removes the mob "memory" var

* MEMERY
2016-10-10 11:46:52 +13:00
Joan Lung 306313af52 Player simple animals no longer count as traitors (#20835) 2016-10-10 11:30:45 +13:00
Joan Lung d5a9a5fd77 who's mind? (#20834) 2016-10-09 17:19:41 -05:00
Joan Lung b5b4037e2e More istypes replaced with helpers (#20767)
* shouldn't you be merging these by now

* my oh my do we have a lot of these

* a fellow pedantic shit
2016-10-03 13:40:13 +13:00
Joan Lung dd9a3e9c9a did I actually test anything? 2016-10-01 14:47:42 -04:00
Joan Lung dff4db726a Replaces a bunch of istypes with their proper macros (#20739)
* Replaces a bunch of istypes with their proper macros

* i'm not sure doing a 100+ file changed pr on a whim is something you do when bored
especially if you do it by hand because you never actually learned the regex that would let you automate it

* i'm just... gonna do this, because that check was true a lot and it shouldn't matter
2016-09-30 20:21:08 +02:00
Joan Lung d41971d7ed Merge branch 'master' of https://github.com/tgstation/tgstation into proofofconceptantagdatum
Conflicts:
	code/game/gamemodes/game_mode.dm
2016-09-20 19:03:20 -04:00
Joan Lung 5ac7e1b68d cult too! 2016-09-19 19:44:58 -04:00
Joan Lung 70f5419838 this is a style change 2016-09-19 13:12:46 -04:00
Joan Lung 3ec7e81131 "A Working Datum Antagonist" 2016-09-19 13:03:22 -04:00
AnturK 93f444fd38 Removes Hand of God gamemode. 2016-09-18 13:32:26 +02:00
Joan Lung 0f3031bd7e Fixes some potential weird faction bugs 2016-09-02 16:51:26 -04:00
KorPhaeron 08863597ab Typo 2016-08-28 13:31:53 -05:00
KorPhaeron f6aa045e97 Fixes reinforcement runtime 2016-08-28 13:31:05 -05:00
Joan Lung 61cff4e7bc Merge pull request #19940 from KorPhaeron/summons
Summon Magic now functions like summon guns
2016-08-18 22:31:02 -04:00
KorPhaeron f3200ee88a Summon Magic 2016-08-17 19:33:32 -05:00
oranges e92908ff36 Merge pull request #19893 from ChangelingRain/makeandreshapeintotheselfyouwanttobeandifyoudontknowwhatyouwanttobefindout
Makes the traitor panel a little less fucked up
2016-08-17 10:11:51 +12:00
Cheridan 643192e75d Merge pull request #19884 from ChangelingRain/ipourmyselfintoeverythingillforgetbecauseifimgoingtoforgetititshouldbegoodenoughtoremember
Revenants now spawn
2016-08-15 14:59:13 -05:00
Joan Lung d7e8439e6a Makes the traitor panel a little less fucked up 2016-08-14 21:06:10 -04:00
Joan Lung 79c6be3cf4 Revenants now spawn 2016-08-14 13:56:30 -04:00
KorPhaeron b5b62d6407 Refactors slaving created mobs minds 2016-08-12 19:20:27 -05:00
lordpidey d923e16044 Adds "law 666" for cyborg devils. (#19646)
* Adds "law 666" for robot devils.

* Minor refactors for Remie

* Fixes compile error.

* I'm an idiot.
2016-08-03 10:18:37 +12:00
lordpidey ec2f666f29 Devil agent (#19391)
add: Added Devil agent gamemode, where multiple devils are each trying to buy more souls than the next in line.
add: If you've already sold your soul, you can sell it again to a different devil. You can even go back and forth for INFINITE POWER.

This adds a new gamemode. Devil Agent. It works much like Double Agent, except devils instead of traitors, and instead of killing, the devil simply has to control more souls than the enemy.

Also, whether this is included in the rotation depends on the config settings. By default, it will be disabled.
2016-07-31 17:02:21 +12:00
Rui Neves Carvalho 7264688196 Fixes admins not being able to make a redgod. (#19538) 2016-07-28 11:05:21 -04:00
AnturK 523a2b29fe Implant chair refactor (#19272)
Removes some copypasta
Refactors implant chairs. Adds some fun variations.
2016-07-13 12:59:06 +12:00
GunHog e2cfcb0bd1 Aimed Fireball Spells! (#19030)
* Fireball Spell Changes

- Changes the fireball spell to be click-to-fire.
- Converted Devil and Wand fireballs as well.
- Moved some code to the /proc_holder level to work across the /alien
and /spell branches.

* Tweaks and Fixes

- Infernal Fireball is now a projectile and has the right explosion
values.
- Removed non-projectile spell versions of fireball, as they are unused
- Fixed fireball not seeking adjacent targets.
- Fixed incorrect bolding slashes.

* Fix

Fixes the fireball sometimes missing.

* Fixes and tweak

- Uses TRUE/FALSE defines instead of 0 and 1 for boolean variables.
- Ranged abilities now remove themselves tries to use an ability in a
disabled state. (Such as being knocked out)
- Define for the click cooldown.
2016-07-05 09:06:01 +12:00
Xhuis 8a852f196b Removes shadowling (#18951) 2016-06-27 20:53:35 -04:00
oranges 3a7eab6e05 Merge pull request #18729 from coiax/remove-spawn-3
Remove spawn III
2016-06-21 20:11:08 +12:00
Jack Edge 821b3bc1b3 More spawn removal 2016-06-19 01:50:58 +01:00
AnturK f14b81fdfd Fixes #18271 2016-06-18 15:02:32 +02:00
Joan Lung 4f8133c3d1 unfucks ratvar conversion 2016-06-08 15:50:06 -04:00
Xhuis d7c09927fa Fixes an issue with golems and conversion 2016-05-29 03:43:39 -04:00
Cheridan 92d1ae5a4b Merge pull request #17881 from coiax/time-of-death
Polymorph bugs, time since death, groundwork laid
2016-05-25 01:29:44 -05:00
Jack Edge afd9720abc Polymorph bugs, time since death, groundwork laid
🆑 coiax
fix: Fixes bug where bolt of change to the host would kill an attached
guardian.
fix: Fixes bug where bolt of change to laughter demon would not release
its friends.
fix: Fixes bug where bolt of change to morphling would not release its
contents.
fix: Fixes bug where bolt of change transforming someone into a drone
would not give them hacked laws and vision.
rscadd: Medical scanners now inform the user if the dead subject is
within the (currently) 120 second defib window.
/🆑

- Also laid the groundwork for force pushing ghosts back into bodies
when defibbing, along with standardising the ghost back into body
process.
- Defib limit and defib brain loss times are now #defines.
2016-05-24 17:28:34 +01:00
Xhuis 8b8d0b66e6 Conflicts II 2016-05-18 17:52:04 -04:00
Robustin f02fb50825 Adds Hivemind Link (#17618)
Adds Hivemind Link ability to changelings
2016-05-17 20:42:44 +01:00
Xhuis b93957e6ca Pre-testmerge polish 2016-05-15 13:15:27 -04:00