Commit Graph

339 Commits

Author SHA1 Message Date
advomach 79447673a0 Update singularity.dm
Removed comment
2014-06-24 19:00:41 -04:00
advomach 48098c3249 Replaced var/sizes_to_number with weirdass formula that is faster and takes up less space in code than list lookups 2014-06-24 11:37:03 -04:00
Cheridan 5cfa0df3d2 Merge pull request #3790 from Miauw62/bestiality
Fixed #3077. Singularity now sucks small items instead of large ones.
2014-06-21 01:13:13 -05:00
Miauw 75a0eadb37 Removes an unneeded unEquip(). 2014-06-19 19:00:10 +02:00
Kelenius a8b7588c12 Merge branch 'master' of https://github.com/tgstation/-tg-station into Temp
Conflicts:
	code/game/objects/items/weapons/grenades/ghettobomb.dm
	code/game/objects/structures/door_assembly.dm
2014-06-19 02:27:10 +04:00
Alex 02d4a5a0d2 Merge pull request #3904 from Cheridan/sillynarnar
Nar-Sie update
2014-06-16 10:37:35 +01:00
Cheridan 8796e6e914 Update singularity.dm
smoke effect when ghosts arise as harvesters
2014-06-13 08:48:14 -05:00
Cheridan b80e9eda57 Nar-Sie update 2014-06-11 14:19:58 -05:00
Kelenius 3908160998 One big update for stacks. 2014-06-10 20:36:08 +04:00
MrPerson 645ca7f8a1 Merge branch 'master' of https://github.com/tgstation/-tg-station into examinate_the_doctor
Conflicts:
	code/_onclick/click.dm
	code/game/atoms.dm
	code/game/objects/items/toys.dm
	code/modules/paperwork/folders.dm
	code/modules/power/cable.dm
2014-06-09 01:50:44 -07:00
ikarrus 40800b79e0 The Loggening: Admin Edition
-Build mode logging. A lot of its functions are highly abusable but not logged
-Gravity Catapults no longer spam asay. They will be kept in the game log.
-Logging for Cyborg handcuffs
-Logging for Stripping/equipping
-Logging for decreasing PA power control. Easier as an admin to tell when I should panic without having to watch them like a hawk.
-Logging for disposaling people
-Some code optimizations along the way as well
2014-06-02 23:13:33 -06:00
Miauw 9ed94fcb78 Makes this actually work properly. It's always harder than it looks. 2014-05-24 19:18:17 +02:00
Miauw 9e080d555f Fixed #3077. Singularity now sucks small items instead of large ones. 2014-05-24 17:45:36 +02:00
Cheridan 36bb032957 Merge pull request #3509 from Cheridan/MeteorsSuck
Meteor Stuff
2014-05-17 18:42:16 -05:00
Alex 3247358c6d Merge pull request #3480 from AstralSerpent/master
"NAR-SIE HAS RISEN" gets accompanied by an "I'M HERE" sound.
2014-05-14 10:39:10 +01:00
Cheridan 3a0bd3de28 Merge branch 'master' of https://github.com/tgstation/-tg-station into MeteorsSuck
Conflicts:
	code/game/turfs/simulated/walls.dm
2014-05-13 14:03:42 -05:00
Hornygranny f615b60c2a dust now uses spawn_dust() 2014-05-06 11:46:25 -07:00
Hornygranny 1d981b9173 flavor text removed 2014-05-06 11:44:03 -07:00
MrPerson 9d9a657acf Change examine() from an atom verb to a mob verb
Just in time for the feature freeze, a big change that will introduce bugs! Yay!
Mob verb is called verb/examinate(target), which just calls target.examine(user) and face_atom(target)
For explanation why, see http://www.byond.com/forum/?post=1326139&page=2#comment8198716
Long story short, mob verbs are much faster than object verbs. The goal is to make right-click menus populate faster.

Also changes a bunch of examine() procs to always, ALWAYS call the parent. Except mobs, but you have 1 guess why I'm not touching them. Mostly this affects obj/item/examine().
And also remove a whole shitload of pointless set src in view(2) kind of crap. Also span classes.
2014-05-01 09:56:39 -07:00
Hornygranny 3035108aba used visible_message for flavor text 2014-04-30 14:17:20 -07:00
Hornygranny 2853c954c9 Narsie's consume will now spawn remains and gib mobs, and includes a flavorful message. 2014-04-30 13:36:50 -07:00
Cheridan 4d8160ab14 meteorhit() is kill 2014-04-22 12:16:02 -05:00
AstralSerpent e589992608 NAR-SIE HAS RISEN gets accompanied by that I'M HERE hallucination sound. 2014-04-21 12:02:22 +10:00
Cheridan 412ac0fb38 Improved Singularity Ex_act() 2014-04-01 15:26:48 -05:00
Razharas 6cb3ae5183 Revert "Merge pull request #3142 from Alek2ander/master"
This reverts commit 6f9b58abce, reversing
changes made to eda7110a23.

Im so sorry aran, so sorry
2014-03-29 18:02:54 +04:00
Alek2ander 358ecf7e6a Merge branch 'master' of https://github.com/tgstation/-tg-station into tgstation-master
Conflicts:
	code/game/machinery/computer/computer.dm
	code/game/machinery/computer/telecrystalconsoles.dm
2014-03-27 18:31:11 +04:00
Mloc-Hibernia 8af8a43d6f Initial pass to convert LF to CRLF
Signed-off-by: Mloc-Hibernia <colmohici@gmail.com>
2014-03-24 08:53:40 +00:00
Alek2ander 81b1b189de paipairing
Stuff
2014-03-22 22:33:09 +04:00
MrPerson 6930283efc Merge branch 'master' of https://github.com/tgstation/-tg-station into qdel_r
Conflicts:
	code/game/gamemodes/changeling/changeling_mutations.dm
	code/game/gamemodes/changeling/changeling_powers.dm
	code/game/gamemodes/malfunction/Malf_Modules.dm
	code/game/objects/items/weapons/tanks/watertank.dm
	code/game/objects/structures/tables_racks.dm
	code/modules/research/server.dm
2014-03-21 03:05:39 -07:00
Aranclanos 638ca8e22e Made the singularity name lowercase 2014-03-10 19:45:39 -03:00
MrPerson a74cdf1da2 Made the singulo only qdel things once. Woops.
This was causing some runtimes and doubled reporting "Emitter deleted at (0,0,0)" etc.
2014-03-03 03:45:59 -08:00
Miauw aacbe054ed Alright it's really done now (aka i guarantee i'll make another commit) 2014-02-27 18:54:35 +01:00
Miauw aec5fbf640 Fixed up singulo buff even more 2014-02-27 18:50:53 +01:00
Miauw d0cb351b67 Singulo buff improvements 2014-02-26 21:14:25 +01:00
Miauw ce7eec1f2a Makes the singulo's radiation actually do something. 2014-02-26 21:05:55 +01:00
Miauw 0a3b163a3a Makes the singularity pull small and tiny items out of your hands.
Also makes the singularity irradiate you.
2014-02-26 20:54:18 +01:00
MrPerson f0fd0c9949 Fixed the nuke disk qdel() fucking up
Made the singulo spawn correctly
Really minor fix for things that are qdel()'d at 0 time, which should be nothing if everything is going right.
2014-02-25 02:29:49 -08:00
MrPerson 9eee3e5067 First pass at a qdel() garbage collection system for tgstation
Works pretty well. If it can't GC something, it'll just del() it and be done.
Speed is amazing, holy shit.

New procs you should be aware of:
qdel(atom/movable) - sets up an object for garbage collection. Call this rather than del(atom/movable).
atom/movable/Destroy() - called right before the object is GC'd, so it still has a loc. Also called if the object is del()'d.
new controller - garbage.dm has all the details on this. Basically it nulls all references on GC'd objects and force del() them if necessary.
Generally speaking, objects should use Destroy() for behavior prior to deletion rather than Del(). You should also always call the parent so the object gets the right gc_destroyed var set.

ISSUES:
Tries to GC mobs atm. This actually works for new players, not so much for humans/monkies/simple_animals/anything. I'm guessing it needs to clear out their mind and HUD and maybe other things.
Gibbing is really bugged. It works, but the overlays just sit there for awhile and ugh. I'm very tempted just to del() mob/living and mob/camera and call it a day.
qdel() equipment doesn't unequip the item.
Pipes don't generally GC correctly. Debugging suggests they get referenced in many pipenets and that isn't cleared properly. However some do work fine. Need assistance here.
Bots don't GC, probably in the radio controller.
Lots of other shit doesn't GC but it's hard to find them because of the pipe spam.
I think I'm calling Destroy() twice by accident.
2014-02-23 14:55:12 -08:00
Razharas 923f8fc565 Merge pull request #2800 from MrPerson/del_in_progress
Only report emitter/SMES deletion if the round's in progress.
2014-02-16 08:36:25 -08:00
MrPerson c551018db2 Only report emitter/SMES deletion if the round's in progress. Should mean less log/message spam because of the emitter crate. 2014-02-15 00:18:10 -08:00
Aranclanos 18d7081d33 removes a spawn() from the singularity consume proc that was causing runtimes. I think it also makes the singularity less laggy? Or maybe it's just a placebo effect. 2014-02-13 13:17:18 -03:00
MrPerson 931da9e7ef Many changes
Much diff
2014-02-04 22:49:38 -08:00
Cheridan ad235cf18f Merge pull request #2563 from Razharas/NewTables
New PR for crafting tables
2014-02-03 08:46:56 -08:00
Aranclanos 68fd365ae8 fixing the Del() of the control panel of the PA 2014-02-02 05:26:05 -03:00
Aranclanos 976e3457b4 added Del() calls for the PA structures/machines 2014-02-02 05:02:09 -03:00
Razharas ea54257ab6 Ported cable coils to stacks crudely
Yeah
2014-01-22 02:11:19 +04:00
Alek2ander 9fa38637ad Logs everywhere
Explosion game log now has epicenter coords
Powersink placement and explosion notifications
C4 notifications and logs
Logging singulo munchies and death
All SMES interactions now logged, because any of them can mess stuff up
Telesci logs what was teleported
2014-01-19 21:16:30 +04:00
Aranclanos 8a56589e3e Merge pull request #2292 from sirbayer/srsbsns-determinism
Remove RNG from armor
2014-01-14 05:01:24 -08:00
Giacomand f1e7637bab Disabled the game using set background by making all instances of it use a define, which can be changed in code/_compile_options.dm
Testing has revealed that it reduces the sluggishness of the game, though it will spike from lag when the singularity is loose. Thanks to ChuckTheSheep for suggesting it.

Server owners who want to keep set background enabled can do so by changing the define.
2014-01-10 18:32:28 +00:00
sirbayer ef7e3258ae Rads finally work. War never changes. 2014-01-08 16:32:35 -08:00