Commit Graph

154 Commits

Author SHA1 Message Date
Unfit
0e53c2583b spook() proc
also remove spoilers from changelog

drug messages for gibber

fixed

more fluff - all for now

aaaaaa

fix for ghosts
2015-08-19 00:05:38 +02:00
Kurfursten
2f79252441 Done and done 2015-07-24 01:47:41 -05:00
Kurfursten
342b34f3f2 deus ex machina 2015-07-24 01:46:23 -05:00
Kurfursten
09adb77cc3 Compiles 2015-07-24 01:44:42 -05:00
PJB3005
3bc5d86263 LIGHTING IS BACK.
AND A SHITLOAD FASTER.

SANIC.
2015-07-21 14:16:27 +02:00
D3athrow
ced88eba93 Fixes #5429 apcs being lewd 2015-07-20 18:41:14 -05:00
D3athrow
d59f6a07b0 comment out panicwriter and saytesting 2015-07-20 16:04:48 -05:00
D3athrow
7a3ff4efc3 THE LIGHTING IS DEAD, LONG LIVE DAL 2015-07-18 23:05:18 -05:00
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
clusterfack
09e9dcdc05 Purges Ninja and its snowflake/badcode
Removes basically any and all active references to the ninjacode. A fresh slate if we were to port ninja code from someone now.
2015-07-03 13:05:40 -05:00
dylanstrategie
8f1132f443 Forcefully deprecate meteor_hit()
meteor_hit() is a textbook example of snowflake. What you have here is a
proc linked to a single entity (the small meteor) which shouldn't even
have it (ever since I reworked meteors, small meteors explode) that is
present in FIFTY. FUCKING. FILES.

Since an explosion more than clearly does the damage we want done on
meteor impact, it is more than logical to remove it and lighten our code
of obsolete and obscuranting procs

For the handful of times where it isn't possible to straight up remove
it (immovable rod, dust, small meteor), the code was quickly patched by
making it fire ex_act(2), given that small meteors perform
explosion(src.loc, -1, 1, 3, 4, 0)

Doing it quick and dirty because otherwise it's going to cause conflicts
everywhere
2015-06-29 16:16:03 +02:00
PJB3005
433dfc0f52 grammar 2015-06-27 19:47:39 +02:00
clusterfack
e0f26fc204 Adds more blueprint renaming functionality
Addresses #2914, adds renaming. Unfortunately does not work properly as it should be readding the vents/scrubbers to the new area as well as renaming all the machinery properly from space.
2015-06-22 03:14:06 -05:00
D3athrow
6f8f1ff08f 110% plagiarism 2015-06-13 20:18:43 -05:00
PJB3005
ae7ab25539 BAY LIGHTING PEOPLE 2015-06-06 22:15:21 +02:00
DeityLink
4f8c4447ed methylphenidate 2015-05-23 08:35:26 +02:00
ComicIronic
2bf2ea1f6f SMES Cleanup + Portable Batteries
SMESs now fall under a battery type, which is a charge-storing power machine.
The battery charges and outputs in an OOP way.
SMESs now make terminals in the general way, which is also used for APCs.
Terminal is now a power machinery level var.
Currently impossible to get but fully functional are portable batteries.

Portable batteries:
 - Only work when connected to battery ports, but can be pushed around otherwise
 - Charge from the battery port's terminal, and output onto its tile, like SMESs.
 - That's basically it. What more do you want? It's a movable SMES, essentially.

Known issue with the portable batteries: they don't show load in the UI, because they never proc resolve(), but it's not major.
2015-05-20 16:26:30 +01:00
clusterfack
b87e693642 Fixes
Painstakingly goes through the 'in world' commit again to use the proper lists for all objects that are autoremoved from the machines list.

Also removes an extremely laggy proc called get_apc() which called locate throughout all related areas until it found an apc, links the apc to the area as only one is allowed per area.
2015-05-16 10:35:36 -05:00
Kurfursten
8b402448bc Adds Soldering Irons 2015-05-03 18:52:50 -05:00
wwjnc
6e9ec5b791 Added pooling to alarms/APCs/SMES/computers 2015-04-22 17:19:32 +02:00
wwjnc
7b6100c54d Added missing busy checks and fixed terminal construction
Computer building/deconstruction, APCs and SMES have now proper busy
checks. Additionally, some terminal wiring bugs with APCs and SMES have
been fixed.
2015-04-22 03:49:41 +02:00
D3athrow
01d2471fc9 Merge branch 'color_replace_2_electric_boogaloo' into Bleeding-Edge
Conflicts:
	code/ATMOSPHERICS/pipe/pipe_dispenser.dm
	code/game/machinery/computer/HolodeckControl.dm
	code/game/machinery/embedded_controller/embedded_controller_base.dm
	code/modules/mining/money_bag.dm
	code/modules/mob/living/carbon/carbon.dm
	code/modules/mob/living/silicon/mommi/mommi.dm
	code/modules/mob/living/simple_animal/friendly/farm_animals.dm
	code/modules/research/destructive_analyzer.dm
	code/modules/research/rdconsole.dm
	code/modules/research/xenoarchaeology/machinery/analysis_base.dm
	code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm
	code/modules/research/xenoarchaeology/tools/ano_device_battery.dm
2015-04-12 16:40:59 -05:00
ComicIronic
d0e9eedd25 drop_item and click code.
drop_item now has a first arg, which is the item to drop.
Hand processing now uses drop_item properly, which fixes #3874, #3796.
Also fixes #3486.
2015-04-12 00:56:43 +01:00
clusterfack
1c1f30df53 Part 3: Stable build, confirmation of powernet rebuilding successfully, powernet ticking successfully, pooling successfully, expanding and rebuilding networks successfully, and emitters fucking turn themselves off. 2015-04-01 04:44:57 -05:00
clusterfack
bdfa7b9666 Fixes up examine text a little bit, again
Makes narsie not do some stupid thing where he destroys an apc and the power comes back on in the area
Fixes #3379, you can use rpds on catwalks
2015-03-10 19:30:45 -05:00
ComicIronic
34bab36581 Changes to drop_item.
The drop_item arg is now the loc placed, not the child of the loc or whatever.
Removed a few lines of items being placed into themselves, on themselves, into other things manually, into their users, etc.
Cleans up the fix for MoMMI recharger silliness.

This took about 2 hours of non-stop manual searches.
2015-03-08 21:37:34 +00:00
D3athrow
be5bff1a2a bad args man
infinite loop mang
two more funtimes squashed.
2015-02-23 23:38:30 -06:00
D3athrow
6956a3c4df Should fix the issue of nano windows popping back up after closing them. 2015-02-21 15:47:40 -06:00
ComicIronic
b44a0430a8 Initial cable changes. 2015-02-17 13:28:28 +00:00
D3athrow
037e2912b8 Try and cut down on the fucking poweralert calls again. 2015-02-13 01:04:21 -06:00
D3athrow
dd2dec1a47 yes 2015-02-12 20:54:24 -06:00
ComicIronic
ea97c9672b Merge conflicto. 2015-02-08 13:19:01 +00:00
ComicIronic
4cbb67516a Code cleanup 2: Hell's Kitchen
Made is_hot and is_sharp object procs, not global procs. Added sharpness vars for objects. Things use these procs OOP now.
Made all kitchen knives inherit from utensil/knife. This also fixes an issue with plastic knives, #2863.
Forks now work with all food properly. Fuck oldcode.
Made some procs macros, moved a maths proc, shrunk unsorted.dm a little.
Removed a redundant get_turf_loc proc that was just get_turf.
2015-02-08 13:11:54 +00:00
D3athrow
20e2fca168 Keep power alert spam down due to it fluctuating between 29 and 30% charge. 2015-02-07 20:49:24 -06:00
D3athrow
5f94a10279 object pooling for metal sheets, after doing this i probably should have just done it for all /sheet's 2015-02-07 17:23:28 -06:00
eswordthecat
9e166de8e3 Remove set_machine proc at apcs 2015-02-05 08:39:50 +08:00
D3athrow
4b11190f82 AHH LIGHTS ARE OFF THE MACHINE LIST
FUCK THE MACHINE LIST
thanks aran
2015-01-30 20:22:58 -06:00
eswordthecat
37c1e7d729 Use initialize() at APCs. 2015-01-22 04:40:41 +08:00
eswordthecat
6a40cc4215 Merge remote-tracking branch 'upstream/Bleeding-Edge' into patch-200 2015-01-15 04:44:26 +08:00
eswordthecat
d91e8bc090 6749f21042 2015-01-12 15:01:10 +08:00
ComicIronic
e1bbc5bb08 MERGE CONFLICTS. 2015-01-11 17:32:02 +00:00
clusterfack
87c12062ac Examine overhaul to mob/user, span class and absolute pathing fixes 2015-01-07 14:40:57 -06:00
ComicIronic
57cf932a54 Merge conflicts. 2015-01-07 16:38:06 +00:00
Rob Nelson
f1cadf6ef1 Mob movement/attack/click/special delay rework
This code was just a big fucking mess.  Happy motherfucking 2015.

 * Delay procs and variables replaced with a standardized delayer framework.
 * Cleaned up the absolutely fucking atrocious fix_next_move() diagnostic verb.
 * Added the ability to adjust minimum and maximum delay clamps per-mob for adminbus purposes and future features.
   * USECASE: Fat people cannot attack as fast (not implemented)

Tested somewhat by smacking a window with a crowbar.  Movespeeds also don't seem insane, either.
2015-01-01 03:21:23 -08:00
ComicIronic
29a039c03a Code rework of placing things on walls.
Stuff goes under types.
Types have procs.
Never have 500 lines of repeated code again.

I came very close to crying while editing this. You should appreciate that.
2014-12-27 00:06:38 +00:00
Rob Nelson
bf90cf2a72 Supermatter cascade survivability fixes, plus changes. 2014-12-09 20:32:03 -08:00
clusterfack
485aace35c Fix for long-distance cell removal
-Fixed Mommis magically taking APC power cells at any range
2014-12-01 00:15:30 -06:00
ComicIronic
6f82edccc9 Rewrite of machine code
- The most common attackbys now use a common proc and a flag system
- The following flags now exist : EMAGGABLE, SCREWTOGGLE, CROWDESTROY, WRENCHMOVE, FIXED2WORK
- Machines have had flags appropriately added with inherited procs to replace copied code
2014-09-20 22:55:36 +01:00
ESwordTheCat
b0a16eb018 apc stuck in green during powersinks. 2014-08-11 11:04:27 -08:00
ESwordTheCat
2bb1978477 Add this on Destroys. 2014-07-18 01:35:17 -08:00