Commit Graph

516 Commits

Author SHA1 Message Date
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 15c374c396 Merge branch 'master' of https://github.com/tgstation/-tg-station
Conflicts:
	code/modules/power/solar.dm
2014-03-28 00:02:29 +04:00
Alek2ander 8fa4005c24 Moved paicard check to /obj/machinery/computer
BSA control computer now a valid pAI control target. !!FUN!!
2014-03-27 23:43:05 +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
Giacomand da71bad8e2 Modernised the solar control computer's UI.
Cleaned up the solar code a bit.
Removed trackers requiring power, should stop them from being processed.
2014-03-26 16:28:33 +00:00
Aranclanos 34757f900e Merge pull request #3161 from Giacom/gravity_changes
You will fall over in zero gravity, again, but you won't make a noise.
2014-03-26 03:27:20 -03:00
Giacomand 65602cb72d Added admin logging for the gravity generator. 2014-03-25 10:12:33 +00: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
Giacomand 1a9da0ba47 You will fall over in zero gravity, but you won't make a noise. This was important because it told players whether someone was stunned or dead, when it was changed it just added confusion.
You can no longer slip in zero g.

Added an admin subtype of the gravity generator which admins can spawn to create a pre-setup gravity generator.
2014-03-23 16:21:08 +00:00
Alek2ander 81b1b189de paipairing
Stuff
2014-03-22 22:33:09 +04:00
MrPerson 2858bf1c18 Fix for changling powers arm blade and fleshy space suit.
More del(AM) -> qdel(AM) and Del() -> Destroy()
Fixes a terrible bug that would have meant players could only ghost once.
2014-03-21 22:26:50 -07:00
MrPerson ee716586b9 GEE THANKS GIA FOR MORE CONFLICTS (gravitygen changes to c4 vs qdel)
Merge branch 'master' of https://github.com/tgstation/-tg-station into qdel_r

Conflicts:
	code/game/objects/items/weapons/explosives.dm
2014-03-21 19:04:51 -07:00
Razharas 4c4cadb48c Merge pull request #3086 from Giacom/gravity_generator
[MAP] Added a new gravity generator which will produce gravity for the station.
2014-03-21 14:06:40 -07: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
fleure 26451b2e2c Merge pull request #3105 from MrPerson/gias_issue
Safety check SMES custom input/output settings a bit.
2014-03-20 20:13:24 +00:00
MrPerson 6ec9e5b732 Safety check SMES custom input/output settings a bit. 2014-03-17 13:27:50 -07:00
Giacomand 64c9e253f2 Typo fixes. I'm keeping the comma-less but. 2014-03-15 17:44:34 +00:00
Giacomand cc4dd68bdf Added a new gravity generator which will produce gravity for the station.
Sprites by Ausop, which he posted in his sprite thread.

The gravity generator is very sturdy, as it is almost indestructible, but explosions can break it and it will need repairs.
Changed C4 to stop del()'ing and instead will only use ex_act().
Added an interact_offline variable for machines that will allow you to interact with them even if they are depowered. The gravity generator only uses this at the moment.

Removed the stun that people get when gravity changes.
Shuttles have gravity still.

Added a gravity generator room to the west of Engineering. It is very secure, with a foyer and requiring CE or Captain access. There are instructions on the table for repairing and enabling/disabling the machine.
2014-03-15 16:59:48 +00:00
Cheridan 4e5d757726 Merge pull request #3064 from Rockdtben/removeTLEComments
Removing TLE comment stamps and other useless comments
2014-03-14 15:40:27 -05:00
Rockdtben a034e41f25 Removing TLE comment stamps and useless comments 2014-03-13 08:25:28 -05:00
Rockdtben 6eeeb1e5fe Removed some useless comments from years ago. 2014-03-12 07:59:34 -05:00
fleure 7d0ddb0e72 Merge pull request #2987 from Ccomp5950/apc_bugfix
APC overlay bugfix.
2014-03-12 10:46:19 +00:00
Aranclanos 638ca8e22e Made the singularity name lowercase 2014-03-10 19:45:39 -03:00
Aranclanos f32dc05bf7 Merge branch 'THESINGULOATEMYBOH!' of https://github.com/Miauw62/-tg-station into THESINGULOATEMYBOH! 2014-03-10 19:45:01 -03:00
MrPerson 6b29fecda1 Merge branch 'master' of https://github.com/tgstation/-tg-station into qdel_r
Conflicts:
	code/game/machinery/bots/ed209bot.dm
	code/game/machinery/rechargestation.dm
	code/game/machinery/turrets.dm
	code/game/objects/structures/crates_lockers/closets.dm
	code/modules/research/circuitprinter.dm
2014-03-08 22:03:03 -08:00
Ccomp5950 d8df1df6b5 APC overlay bugfix.
Before: If you turned off the breaker and fiddled with on/off states and turned on the breaker it wouldn't update the overlay because the check_updates wasn't doing an if(operating) check and would think it didn't need to update the overlays once you turned on the breaker.

After: Check_update() now takes into account the operating (breaker on/off) variable and accounts for it in update_overlay.

Thanks Razharas from /tg/ #coderbus for bringing this to my attention.
2014-03-04 20:50:34 -06: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
MrPerson 20027aa442 Fix a use_power() runtime if the object was in nullspace (was qdel()'d)
Also remove some debug shit in atmospherics I left around.
2014-03-03 01:16:21 -08:00
MrPerson 3c58091437 Merge branch 'master' of https://github.com/tgstation/-tg-station into qdel
Hopefully nothing went wrong but you never know.

Conflicts:
	code/FEA/FEA_fire.dm
	code/controllers/supply_shuttle.dm
	code/game/gamemodes/changeling/changeling_powers.dm
	code/game/machinery/autolathe.dm
	code/game/machinery/drying_rack.dm
	code/modules/hydroponics/hydroponics.dm
	code/modules/projectiles/projectile/magic.dm
	code/modules/reagents/Chemistry-Recipes.dm
	code/modules/reagents/reagent_dispenser.dm
2014-03-02 21:39:27 -08:00
Razharas f3ccaa5936 Merge conflicts fix 2014-03-03 05:42:31 +04:00
Ergovisavi 05687e2490 Reduced the effectiveness of the resonator, resonator kit no longer has stimulant pills, lazarus mobs have attack_self 1 to not build an army of loyal mobs, as a wall of goliaths is too effective. Removed messaging admins for gibtontie deposits on the mining zlevel. Made the Superpacman generator a little more efficient. 2014-02-27 21:02:41 -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
Ergovisavi 83c85abe26 Merge branch 'master' of https://github.com/tgstation/-tg-station into ore_redemp_fixes 2014-02-25 17:38:24 -08:00
Ergovisavi a4ffdf1cb7 Asteroid/Mining tweaks:
Adding mining GPS so miners can find each other more easily on the asteroid
Ore Redemption machine usability improved, also now only processes 10 ore per tick due to possible issues with mass processing of ores
Labor mineral rates edited to fall in line with the rest of the minerals, Labor stacker points increased to compensate
Treasure rooms should now spawn properly and start unlit, treasure items tweaked
Cargo points per plasma sheet significantly increased due to increased rarity
PACMAN generator made significantly more efficient to compensate for increased rarity of plasma, amount of plasma in engineering reduced as a result
Slight tweaks here and there of mining mobs in general
2014-02-25 06:03:17 -08: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
Razharas 56f94f59da Merge branch 'master' of https://github.com/tgstation/-tg-station into PartBag 2014-02-25 05:05:22 +04:00
Razharas b27d9c7396 Added RPED, some sprites and new power cell path
Your dreams of big part storage and fast machine part exchange came true
14 slot R&D part-only autoseeker/picker/dropper/exchager is in
Added different sprites for better capacitors and scanning modules
Changed the power cell type to be compatible with all this machine
changing faggotry
All sprites here are codersprites so ask nien/WJ for better ones if you
want
2014-02-24 05:14:43 +04: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
AlexanderUlanH 1d6981c2d3 Remove name checks 2014-02-19 17:23:57 -05:00
fleure 8108cb1b7f Merge pull request #2811 from Ccomp5950/master
Code effeciency project: apc icon_update()
2014-02-19 19:09:05 +00:00
Miauw 3b24bb64f4 Merge branch 'master' of https://github.com/tgstation/-tg-station into NODROP
Conflicts:
	code/modules/mob/transform_procs.dm
2014-02-18 18:22:40 +01:00
Ccomp5950 fdc0a26b00 Removed extra overlays length check.
No reason to do that if we're doing it again 2 lines down.
2014-02-17 19:07:53 -06:00
Aranclanos b78c7eca06 Merge pull request #2809 from hornygranny/throwspeed
throwspeed pass
2014-02-17 06:26:06 -02:00
Ccomp5950 91fbd0ef88 Code effeciency project: apc icon_update()
caching the icon states instead of creating them each time
checking to see if any icon_state or overlay changes and only
applying the ones that do.
2014-02-16 12:17:41 -06: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