Commit Graph

59 Commits

Author SHA1 Message Date
Fox-McCloud
0dbea7621f The Great Del() Cull of 2015 2015-07-09 02:48:34 -04:00
Tigercat2000
bcb4a9601f Merge remote-tracking branch 'upstream/master' into poolit
Conflicts:
	code/game/objects/structures/displaycase.dm
	code/game/objects/structures/grille.dm
	code/game/objects/structures/lamarr_cage.dm
2015-06-22 13:40:07 -07:00
Tigercat2000
d20298e996 -tg- atom pooling system, qdel changes
This commit first and foremost ports the -tg- atom pooling system, and
removes the old experimental system entirely.

Secondly, this PR modifies the qdel system to use a -tg- lookalike
"destroy hint" system, which means that individual objects can tell qdel
what to do with them beyond taking care of things they need to delete.
This ties into the atom pooling system via a new hint define,
QDEL_HINT_PUTINPOOL, which will place the atom in the pool instead of
deleting it as per standard.

Emitter beams are now fully pooled.

Qdel now has semi-compatibility with all datum types, however it is not
the same as -tg-'s "Queue everything!" system. It simply passes it through
the GC immediately and adds it to the "hard del" lists. This means that
reagents can be qdel'ed, but there is no purpose as of yet, as it is more
or less the same as just deleting them, with the added effect of adding
logs of them being deleted to the garbage collector.
2015-06-21 15:47:57 -07:00
Fox-McCloud
8e450f99c8 tweaks and optimization 2015-06-21 02:16:18 -04:00
Krausus
9001c10ce8 Fixes spacepod equipment runtimes 2015-06-15 08:35:19 -04:00
ZomgPonies
e056abfb82 3/3 port done 2015-05-25 20:16:34 -04:00
Tigercat2000
367812c77d Spacepod: loc = -> forceMove()
This commit changes a few "loc =" definitions in spacepod code that should
really be forceMove() as forceMove()
2015-05-20 15:31:46 -07:00
Tigercat2000
c82f661102 Refactor, Light colors for Spacepods.
This commit makes a major refactor to spacepod code, mostly just cleaning
up the huge mess I left behind with the two-seater code.

This commit also adds a small feature: Based on their icon_state,
spacepods will have different headlight colors.
2015-05-20 15:02:30 -07:00
Tigercat2000
66044413f0 Refactor a few spacepod verbs, Fix being unable to open 2 tile poddoors 2015-05-20 09:10:39 -07:00
Tigercat2000
1b72f6e199 FIX: Spacepod null weapon firing runtime
This commit fixes a runtime error with spacepods, which would happen when
someone tried to fire the weapons while the pod has no weapons.
2015-05-14 05:56:50 -07:00
Krausus
159a12bc64 Fixes mech and pod fabricators
I have no idea how this code ever worked in the past.
2015-05-12 03:37:37 -04:00
ZomgPonies
f22ae3acbe Merge pull request #998 from tigercat2000/LightShit
Baystation12's Lighting Overhaul
2015-05-11 17:06:30 -04:00
Krausus
035b873c0e Fixes missing alien-on-space pod attack cooldown 2015-05-11 09:23:50 -04:00
Tigercat2000
e1249fc640 Lighting overhaul.
This commit overhauls the lighting system to Bay12 standards. It is better
in pretty much every way.
2015-05-10 12:03:27 -07:00
Tigercat2000
b40a82aecd Pod-Locator (probably temporary) sprites! 2015-04-08 13:55:40 -07:00
Tigercat2000
54ed51d36b Initial commit for pod tracking device and misc pod equipment datum 2015-04-08 13:21:30 -07:00
ZomgPonies
30d5ce38f2 Merge pull request #649 from tigercat2000/SPFConstruct
Whoops, left in an old reference, didn't update parts, fixes #643
2015-03-24 08:08:20 -04:00
Tigercat2000
ca4b092445 Whoops, left in an old reference, didn't update parts, fixes #463 2015-03-24 12:56:59 +01:00
Artorp
2c105174f4 Spacepod fabricator output turf check
Makes the spacepod fabricator check all cardinal directions and
dynamically find an output turf
2015-03-24 07:53:27 +01:00
Tigercat2000
8519d592b4 Update to Fox's specifications 2015-03-23 11:39:39 +01:00
Tigercat2000
76ffbbfd59 Massive spacepod construction overhaul by /VG/ 2015-03-23 02:36:49 +01:00
Tigercat2000
47d5fbaa4d Optimizing code, WIP 2015-03-15 20:55:47 +01:00
Tigercat2000
0ab1a02ac8 EMP_Act for spacepods, disables movement, eats cell charge, largely
impacts health, also makes ion rifles work correctly against pods
2015-03-15 17:59:22 +01:00
ZomgPonies
eaf6e71988 Fix Spacepod infinite explosion bug 2015-03-05 13:40:27 -05:00
Tigercat2000
8551e5b31e Tiny extra fix to display a fail message if glitching is attempted 2015-02-28 14:21:17 +01:00
Tigercat2000
73a5a385d6 Two-seater spacepod fixes
This patch should make pods actually /two/ seaters, and not an infinite
corpse transporter.
2015-02-28 14:08:20 +01:00
Markolie
672305e034 Adds a "params" parameter to attackby(), so it keeps track of pixel_x and pixel_y among other things 2015-02-22 22:12:11 +01:00
Markolie
d8d1670b68 Revert "Revert "Saycode/language/species port from Bay""
This reverts commit d54579850c.

Conflicts:
	code/game/gamemodes/nuclear/nuclearbomb.dm
	code/game/objects/items/devices/radio/intercom.dm
	code/modules/mob/living/silicon/pai/pai.dm
2015-02-20 17:46:35 +01:00
ZomgPonies
f27b2dcd9b Merge pull request #345 from Artorp/spacepod
Added repair functionality to spacepods
2015-02-20 09:02:03 -05:00
DZD
212ca5f5bd MERGE CONFLIIIIIICTS 2015-02-19 20:26:36 -05:00
ZomgPonies
d54579850c Revert "Saycode/language/species port from Bay" 2015-02-19 20:15:42 -05:00
DZD
d0d6c8eebd Merge with upstream/master
Fixes merge conflicts.
2015-02-19 19:38:48 -05:00
Artorp
8182592811 Fixed MouseDrop_T runtime error
runtime error: undefined variable /obj/spacepod/sec/var/stat
2015-02-19 15:20:28 +01:00
Artorp
9c926342d0 Spacepod: Added more feedback when interacting 2015-02-19 15:11:00 +01:00
Artorp
1c5eec9227 Added repair functionality to spacepods
- One welder use consumes 3 fuel and repairs 10 hull damage
- Fully repairing a sec spacepod requires around 40-42 activations,
welder must be refueled every 6 uses
2015-02-19 14:46:39 +01:00
Markolie
e4ff0bb168 Disable mecha short circuit sparks - lag inducing 2015-02-19 01:39:03 +01:00
DZD
b3a0c9a975 Removes TABLEPASS and FPRINT flags
- Also adds ABSTRACT and NODROP flags in preparation for removal of
canremove and abstract vars.
- Sorts some of the setup.dm flags so they're in order.
- Replaces 'flags & 2' in policetape.dm with pass_flags & PASSTABLE,
should have the same effect.
2015-02-10 17:41:37 -05:00
Markolie
7285f39fc1 Defib update, cell path update 2015-02-09 16:12:01 +01:00
Markolie
36f5bd0c52 Add AI latejoining, fix Ofitser again, blob damages pods 2015-02-05 14:58:12 +01:00
Markolie
d9cf2a8bbe Simple animals and turrets will now attack pods 2015-01-31 21:25:46 +01:00
DZD
532a3707de Fix Spacepod Battery Charge Display
- Fix for spacepod status menu not displaying charge % of any battery
cell that was not a high capacity cell. Spacepod code is still an utter
mess.
2015-01-22 21:43:23 -05:00
Markolie
183362eabd Proper pipe freezer fix, give sec spacepod laser 2015-01-21 20:04:59 +01:00
DZD
e7e1a77e1f Space Pod Taser Change
Changes the instantstun electrode from the space pod tasers to the
disabler beam, this will allow them to shoot through windows and kill
the NPC mobs they find in space.
2015-01-09 18:26:27 -05:00
FalseIncarnate
4f2fa1f293 Tigercat's Spacepod fix
Fixes some issues with 2 seater space pods. They should now correctly
clear the occupant var and accept dead/critical passengers as intended.
(Tiger did the work, I'm just posting it)
2014-12-19 23:05:53 -05:00
Tigercat2000
46d2000d8b Emergency Patch for two-seat Space-Pods. They are no longer infinity
sized.
2014-12-18 14:28:47 -08:00
Tigercat2000
aeb4841f01 Minor change; You can load corpses into the space-pod, but not living
people.
2014-12-17 20:22:55 -08:00
Tigercat2000
da9f1ed079 Fox's suggested changes- Includes ability to lock pod from new entries,
But not the occupant. The secondary occupant can still get out by
will. Entering a pod with the nuke disk is now impossible. Cannot drag
people into pods; This means you can go on adventures with your buddy,
but, no shoving people into pods and ejecting them into space.
2014-12-17 20:15:03 -08:00
Tigercat2000
e2082e266e Major spacepod overhaul. Allow's for two people per spacepod. Makes
prisoner transport viable via click-drag and new 'lock secondary door'
option.
2014-12-15 06:56:06 -08:00
DZD
e96f7799bb Fixes Space Pod Health
Civilian space pod has 100 health instead of 200.
2014-12-05 20:22:25 -05:00
DZD
90bbdcac2c Space Pod Weapons Fix and Minor Changes
- [x]Space pods will now fire their weapons properly.
- [x]Space pods now have less health (150 for regular pods, 200 for
security)
- [x]Space pods now have a light that can be toggled on/off.
- [x]Security pod now has a regular taser rather than a burst taser by
default
- [x]Adjusted fire rates and energy costs for space pod weapons
- [x]Tasers can fire every 2 seconds at a 250 energy cost.
- [x]Lasers can fire every 3 seconds at a 300 energy cost.
- [x]Burst tasers can fire every 4 seconds at a 350 energy cost.
2014-12-05 20:21:11 -05:00