Commit Graph

104 Commits

Author SHA1 Message Date
KorPhaeron
72389743db ismachinery define 2017-10-03 18:13:21 -05:00
KorPhaeron
bc142acb5c Structure istype define 2017-09-29 17:19:10 -05:00
Ian Turk
1b7ca8c0e5 Resolved merge conflicts 2017-08-16 08:33:24 -06:00
Jordan Brown
af4d9a85c9 Repaths /obj/item/weapon to /obj/item (#29929) 2017-08-16 10:38:51 -03:00
Ian Turk
371f1ba4f0 Replace all secondary flags with bitflags stored in the flags_2 var 2017-08-15 16:01:35 -06:00
Lzimann
58d0f12c5c Removes a great amount of machinery copypasta with circuitboards.
Also changes New -> Initialize in most of them.
renamed: `code/game/machinery/computer/computer.dm` -> `code/game/machinery/computer/_computer.dm`
renamed: `code/game/machinery/machinery.dm` -> `code/game/machinery/_machinery.dm`
Moved all circuitboards to a new folder at `code/game/objects/items/weapons/circuitboards`
2017-08-09 11:10:48 -03:00
Fox-McCloud
c24c9b3ba0 even cheaper 2017-08-04 16:47:49 -04:00
Fox-McCloud
e46ebbc40e forgot 2017-08-03 17:48:38 -04:00
Fox-McCloud
70bd6b50ac Improves Tesla Performance 2017-08-03 17:46:33 -04:00
oranges
e04fd83b9d Rename Bumped to CollidedWith
In light of the change of Bump to Collide, this should also be done
as it will make it less confusing for devs in the future

I also ended up changing a bunch of the code in the CollidedWith procs,
things that were assuming types, doing bad loc changes and so forth
2017-07-15 00:25:22 +00:00
oranges
5494f5328a Rename Bump to Collide (#29207)
This reduces confusion arising from the fact byond already has a built
in byond proc also named Bump.

We used an argument called yes to distinguish our Bump from byond's
builtin bump, but then we failed to make sure everyone of our bumps
properly override it, so a bunch of things have been double bumping

This resolves that issue permanently

I've also removed the second argument as it no longer has a purpose

I also cleaned up the recycler bump as it didn't do anything the
parent procs didn't already do
2017-07-14 13:47:22 +02:00
kevinz000
7a26305498 Replaces ex_act and emp_act numbers with defines (#29215)
* defines

* defines

* explode_none
2017-07-13 08:56:26 -03:00
ShizCalev
59ef81245b Changes some 1s and 0s to TRUE and FALSE (#29144) 2017-07-10 10:31:34 -04:00
Lzimann
3e34eb9e3f Changes all sounds to be lower case, plus standardizes their references 2017-06-11 00:38:45 -03:00
Cyberboss
d8629afef5 Tesla light (#26899)
*  Ports sings to Initialize

* Tesla's now give off light
2017-05-05 12:27:10 -03:00
kevinz000
3d2cef9732 Update energy_ball.dm 2017-05-04 18:46:59 -07:00
kevinz000
db9e6b8647 Update energy_ball.dm 2017-05-02 01:03:07 -07:00
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