Commit Graph

87 Commits

Author SHA1 Message Date
coiax 02fa74903d Moves tesla_ignore from var on /mob/living to secondary flag (#26273)
Only granted by wizards learning the spell lightning bolt, so I don't
think it needs to be a var on /mob/living.
2017-04-17 10:13:02 -04:00
Cyberboss 9e1ef0ffe2 Global variable wrappers (#25325)
* Add the system for managed global variables

* Travis ban old globals

* So you CAN inline proccall, that's neat

* Fix that

* master.dm

* Remove the hack procs

* Move InitGlobals to the proper spot

* configuration.dm

* Fix the missing pre-slash

* clockcult.dm

* This is probably for the best

* Doy

* Fix shit

* Rest of the DEFINES tree

* Fix

* Use global. for access

* Update find_references_in_globals

Always hated that proc

Whoever made it must've bee a r e a l idiot...

* __HELPERS tree

* Move global initialization to master.

Fix the declaration

* database.dm

* Dat newline

* I said DECLARATIVE order!

* Here's something you can chew on @Iamgoofball

* game_modes.dm

* Fix this

* genetics.dm

* flavor_misc.dm

* More stuff

* Do it mso's way. Keep the controllers as global

* Make master actually see it

* Fix

* Finish _globalvars/lists

* Finish the rest of the _globalvars tree

* This is weird

* Migrate the controllers

* SLOTH -> GLOB

* Lighting globals

* round_start_time -> ticker

* PAI card list -> pai SS

* record_id_num -> static

* Diseases list -> SSdisease

* More disease globals to the SS

* More disease stuff

* Emote list

* Better and better

* Bluh

* So much stuff

* Ahh

* Wires

* dview

* station_areas

* Teleportlocs

* blood_splatter_icons

* Stuff and such

* More stuff

* RAD IO

* More stuff and such

* Blob shit

* Changeling stuff

* Add "Balance" to changelogs

* Balance for changelog compiler + Auto Tagging

* Update the PR template

* hivemind_bank

* Bip

* sacrificed

* Good shit

* Better define

* More cult shit

* Devil shit

* Gang shit

* > borers

Fix shit

* Rename the define

* Nuke

* Objectives

* Sandbox

* Multiverse sword

* Announce systems

* Stuff and such

* TC con

* Airlock

* doppllllerrrrrr

* holopads

* Shut up byond you inconsistent fuck

* Sneaky fuck

* Burp

* Bip

* Fixnshit

* Port without regard

* askdlfjs;

* asdfjasoidojfi

* Protected globals and more

* SO MANY

* ajsimkvahsaoisd

* akfdsiaopwimfeoiwafaw

* gsdfigjosidjfgiosdg

* AHHHHHHHHHHHHHHHHHHHHHHH!!!!!

* facerolll

* ASDFASDFASDF

* Removes the unused parts of dmm_suite

* WIP

* Fix quote

* asdfjauwfnkjs

* afwlunhskjfda

* asfjlaiwuefhaf

* SO CLOSE

* wwwweeeeeewwwww

* agdgmoewranwg

* HOLY MOTHER OF FUCK AND THATS JUST HALF THE JOB?!?

* Fix syntax errors

* 100 errors

* Another 100

* So many...

* Ugh

* More shit

* kilme

* Stuuuuuufffff

* ajrgmrlshio;djfa;sdkl

* jkbhkhjbmjvjmh

* soi soi soi

* butt

* TODAY WE LEARNED THAT GLOBAL AND STATIC ARE THE EXACT SAME FUCKING THING

* lllllllllllllllllllllllllllllllllllllllllll

* afsdijfiawhnflnjhnwsdfs

* yugykihlugk,kj

* time to go

* STUFFF!!!

* AAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!

* ngoaijdjlfkamsdlkf

* Break time

* aufjsdklfalsjfi

* CONTROL KAY AND PRAY

* IT COMPILEELEELELAKLJFKLDAFJLKFDJLADKJHFLJKAJGAHIEJALDFJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* Goteem

* Fix testing mode

* This does not belong in this PR

* Convert it to a controller

* Eh, fuck this option

* Revert controllerization Ill do it some other time

* Fix

* Working controllerization

* FOR THE LOVE OF CHRIST PROTECT THE LOGS

* Protect admins and deadmins

* Use the inbuilt proc
2017-04-06 23:26:13 -06:00
kevinz000 51d3cd11f5 [READY]Refactors beams to use timers for recalculation, and new beam proc after drawing (#25252)
* now with timers!

* woops

* hmm this is better

* stoppable timers

* more timer stuff

* fix

* fix
2017-03-22 22:19:16 +13:00
Lzimann 5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
Cyberboss eb17b1f3a4 Fixes runtime with tesla coils shocking things 2017-02-27 11:53:50 -05:00
kevinz000 257450196a Update energy_ball.dm 2017-02-20 13:26:03 -08:00
Joan Lung d908ba33f0 The Tesla will now properly forceMove 2017-02-18 18:16:05 -05:00
kevinz000 a63a98af91 fixes my math (#24018)
* Update coil.dm

* Update coil.dm
2017-02-14 10:17:26 +11:00
kevinz000 c97e0041c6 [READY]Makes the reactive tesla armor actually shoot out lightning (#23719)
* lel

* Update armor.dm

* Update armor.dm

* Update armor.dm

* Update energy_ball.dm

* Update living_defense.dm

* Update carbon_defense.dm

* Update human_defense.dm

* Update carbon_defense.dm

* Update armor.dm
2017-02-10 20:19:29 +13: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
kevinz000 aa0b131e3c Nerfs tesla coil instakills (#23773)
* Update coil.dm

* Update coil.dm

* Update coil.dm

* Update coil.dm
2017-02-07 16:17:21 -06:00
xmikey555 eadf4ef685 Tesla engine no longer destroys energy ball generators (#23676)
tweak: The tesla engine no longer destroys energy ball generators.
/🆑

This brings back multi-tesla shenanigans from before the "tesla blows up things!!1!1" pull request.
2017-02-06 01:02:54 +13:00
Cyberboss b86e224571 Makes qdeleted and qdestroying macros (#23666)
* Makes qdeleted and qdestroying macros

* Makes QDELETED and QDESTROYING uppercase

* Swap qdel checks istype's for != null's

* Fix it

* How was this missed?
2017-02-06 00:59:27 +13:00
Cheridan 3d51b2a467 Merge pull request #23675 from coiax/no-dust-plz
Tesla balls cannot dust people near grounding rods
2017-02-05 01:33:56 -06:00
Lzimann 88d3392e9a Grilles no longer generate a ball 2017-02-04 22:35:16 -02:00
Lzimann 598ad747b6 Bad and unbalanced idea 2017-02-03 21:39:12 -02:00
Jack Edge 4be2f6985a Grounding rod needs to be anchored 2017-02-03 23:13:07 +00:00
Jack Edge 1e6e16e51a Tesla balls cannot dust people near grounding rods
🆑 coiax
del: Tesla balls cannot dust people near grounding rods.
/🆑

- The tesla is SUPER deadly right now, anyway. If mildly charged, will
kill anyone unprotected. And people can STILL get dusted, even if
they've painstakingly set up a net of grounding rods.
- If you're hiding under only one, you're safe from the electricity and
dusting, but there are machines that explode all over the station. Only
a wide net provides any sort of cover.
- Basically, let's reward people for actually using grounding rods,
instead of getting RNG dusted if they don't cover in a locker for
however long it takes for Lady Tesla to leave.
2017-02-03 23:00:31 +00:00
PKPenguin321 e7c3c7a1ec blacklists grilles from tesla (#23295) 2017-01-28 01:04:23 -06:00
Cheridan f81749a704 Merge pull request #23238 from kevinz000/autism_fort_1
Autism Fort Patch - Emitters and Tesla coils can now be used for DEFENDING YOUR TURF!
2017-01-27 17:44:25 -06:00
Iamgoofball 82fd1de840 Update energy_ball.dm 2017-01-24 10:57:56 -08:00
Iamgoofball 7448cb495b makes tesla not favor the east as much i think idk tbh fam ttyl
posi vibes
2017-01-24 10:54:02 -08:00
Core0verload 321ddb76e3 You can now buckle handcuffed people to singularity/tesla generator (#22767)
* You can now buckle handcuffed people to singularity/tesla generator

* Adds buckling to tesla coil and grounding rod, minor fixes.

* Makes buckling code shorter
2017-01-23 09:44:49 +01:00
kevinz000 f706dd90b5 Update coil.dm 2017-01-21 19:51:45 -08:00
kevinz000 9ed64d2b1a ... 2017-01-21 19:30:05 -08:00
Joan Lung ca9badec49 Tesla coils and grounding rods must be anchored with a closed panel to function (#22665) 2017-01-05 19:09:43 +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
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
oranges fd7e8eb3bd Don't redestroy a tesla ball on stop orbit (#22482)
Destroy can cause the parent ball you're orbiting to also be destroyed,
which calls stop orbit on your ball, which then caused you to get
destroyed again, this fixes that while still guarding against the case
the original !loc qdel code was added for - see pr #15486
2016-12-27 16:16:59 -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 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
phil235 6809603669 Changes obj/effect/blob,spider,swarmer,energy_net,spacevines to be ob/structures instead, since you can hit and destroy them.
Adds a large ash and large molten item decal (for future use)
simplifies decal/cleanable/replace_decal() code a bit.
Changes construction() proc to on_construction() for consistency, same for deconstruction().
Made a deconstruct() proc for machinery and computer (also for future use).
2016-09-27 19:58:27 +02:00
Kyle Spier-Swenson f71dc2c9a3 Orbits are now a subsystem (#20632)
* Sleepless perfect orbits #MOGA
We bind to Moved() and use datums and lists to track the orbits, no more sleeps, no more delay.

* Adds some null checks to orbit checks

* Forget to set orbiting.
Also sets orbiters before orbiting, to avoid edge cases of deleting a list then recreating it.

* Improves orbit, adds subsystem for orbits.
Most orbit loc changes will happen on move, subsystem runs every 2 ticks to make up for when that isn't the case.
2016-09-24 19:52:49 +12:00
Cyberboss 1a3a9135c2 Disconnected tesla arc power fix 2016-09-19 13:01:00 -04:00
kevinz000 177045c980 [Ready]Electrical Chemistry (Tesla grenades) (#20448)
Teslium is now easier to make, and as with most electronics, no longer mixes with water.

tesla_act and tesla_zap both now have arguments to specify whether they explode machinery. By default only the tesla engine will explode machinery. This means that Tesla Revolvers will no longer cause a large area to implode if there is no one nearby the target of it to shock. This also means that tesla-grill bolts will no longer blow things up.
2016-09-15 12:59:23 +12:00
Joan Lung fbe2430ff8 Moves all beam icon states to beams.dmi 2016-09-10 13:09:44 -04:00
PKPenguin321 afa17a66bd blacklists lattices from the tesla 2016-08-29 21:11:03 -07:00
PKPenguin321 438d8d8047 a few tweaks
- makes tesla bomb immune so it wont destroy itself
- makes lights spew fire when they explode instead of the regular explosion
- makes cameras with EMP immunity also have tesla immunity
tesla can now keep itself fully contained (at least on box)
2016-08-24 19:23:18 -07:00
Jack Edge 3cc86a7534 Tesla now dusts people on tile it jumps to
🆑 coiax
fix: The tesla now dusts all carbon mobs on the turf that it moves to,
grounding rod or no.
/🆑

- Also made the miniball spawn a timer.
2016-07-05 17:54:09 +01:00
Remie Richards fda2c699fc Automatic conversion via Regex 2016-06-11 18:37:48 +01:00
Razharas 9fdae2fe4e Merge pull request #17576 from LatD/Research
[Ready for test/merge] R&D level remake
2016-06-02 18:41:43 +03:00
Remie Richards 82a20cc6a1 Splits typecache optimisations out of is_type_in_list(), and into their own proc, is_type_in_typecache()
Adds typecacheof(), a proc to make making typecaches easier
The TESLA now uses typecaches since it benefited greatly from the optimisations
2016-05-31 01:13:47 +01:00
LatD 907fc36e5c Merge remote-tracking branch 'refs/remotes/tgstation/master' into Research 2016-05-24 22:17:44 +03:00
LatD 6e6474ee9e Imprinter origin and req lvls 2016-05-22 23:46:05 +03:00
Kyle Spier-Swenson 5e7e773681 Makes it actually see the further away grounding rods. 2016-05-14 17:50:29 -07:00
Kyle Spier-Swenson f3eb0c6106 src vs target 2016-05-13 09:56:44 -07:00
Kyle Spier-Swenson c72451def4 Tesla rebalance
Dissipate nerfed, only dissipates every 5 process() ticks (but takes off double)
Required growing energy's exponential growth dropped from 50% of current energy to 25% of current energy.
When shooting out shorter ranged zaps from the orbiting balls, it nerfs their power proportionally.
Grounding rods are seen as being 2 tiles closer than they are to increase their likelihood of being chosen.
2016-05-13 09:53:46 -07:00
Core0verload a66c2f4418 Machine/computer boards and frames refactor (#17300)
* Map Changes

* Machine/console boards and frames refactor

* More board changes
2016-05-08 12:11:18 +02:00
phil235 0caa59b21a First commit of this big PR
These are the files with just tiny tweaks. Mostly modify an object's attackby so it does "return ..()" instead of "..()".
If there are other things in this commit, the PR's description will explain them.
2016-04-24 20:26:24 +02:00
bawhoppen 16b7a1c8e4 goddamnit goof 2016-04-14 03:43:20 -05:00