Commit Graph

116 Commits

Author SHA1 Message Date
phil235 0ec876d9fe Refactored the item's action system. Items can now hold multiple actions.
The "set internals" button of tank items now turn green when it's used as internals.
Removed research scanner from drones (since cyborgs don't have it, it's more consistent)
Removed the ignore_madkadjust mask var.
The sechailer mask now has an adjust mask action button, so I removed the adjust verb that it was using.
The item's action are now created on item/New() instead of trying to create it every time someone picks the item up.
I split hud/action.dm, the datum/action stuff is now in the datum folder (/datum/action.dm), whereas the code for action buttons is kept in the hud folder under action_button.dm. Also I moved some /datum/action code that was in some files back into datum/action.dm where it belongs.
2016-02-23 19:37:42 +01:00
phil235 91839f5f70 Action buttons will now only update when needed instead of every Life().
The action buttons now update their icon instantly.
Fixes versions of pickup(),equipped() and dropped not calling the parent.
Fixes drone not being able to remove a defib from their storage.
You can now cycle the mime mask by clicking it in your hand.
The action buttons for hardsuit and hooded suits now only appears when you're wearing the suit.
Created two mob helper procs getBeltSlot() and getBackSlot().
Created /datum/species/proc/on_species_loss() to handle stuff when our race change, currently only used by jelly and slime race to remove their exotic blood from our reagents and to remove slime people's action buttons.
2016-02-22 00:34:59 +01:00
Firecage 754491ce4c Changes relatives paths into absolute paths and makes some if()'s better 2016-01-17 01:36:56 +02:00
KorPhaeron a0923daa0e Removes NOSHIELD 2015-12-20 15:21:58 -06:00
KorPhaeron c5c0b6cc74 Extra checks for grey tide 2015-12-18 22:41:13 -06:00
KorPhaeron 17006ed3f8 I'm not paying any attention at all right now sorry 2015-12-18 14:18:28 -06:00
KorPhaeron 5b0777e2b4 Faction copy 2015-12-18 13:57:25 -06:00
KorPhaeron 89528b1e39 User reference 2015-12-18 00:54:29 -06:00
KorPhaeron af6f8c04a6 Admin items 2015-12-17 01:57:08 -06:00
oranges 134a76cc8f Line ending apocalypse 2015-12-17 14:12:37 +13:00
Nerd Lord b274d3ddc5 Dualsabers will now make you flip only twice, instead of up to twelve times. 2015-12-11 18:33:00 -05:00
KorPhaeron 56ecfaff68 Flip 2015-12-09 19:59:12 -06:00
duncathan salt 0472592b97 Merge pull request #13327 from KorPhaeron/reactive
check_shields() refactor
2015-12-07 19:58:17 -06:00
KorPhaeron 6be3a6fd58 Cleans up copypaste but this time it compiles 2015-11-30 16:50:17 -06:00
KorPhaeron fab3cdc3a2 Cleans up copypaste, adds missing block chances 2015-11-30 16:39:02 -06:00
KorPhaeron 2609adb29d Blocking overhaul 2015-11-30 16:22:31 -06:00
Vincent 0218d51938 Better fireaxe-grill interactions 2015-11-27 15:38:37 -05:00
Vincent 026e6ee772 Sets up the the ABSTRACT flag to be used by machines and structures that should not be disassembled or break into parts.
This is specifically used by the holodeck for things that should be immune to disassembly.

Fixes invisible windoors in the holodeck.
Standardizes the fire axe's interaction with windows.
Fixes a runtime with holodeck tiles getting broken or burned.
2015-11-26 21:11:54 -05:00
Razharas 6d89f6cd69 Merge pull request #12687 from tkdrg/uncreative_branch_name
Fixes chainsaws losing force when dropped
2015-10-28 19:30:22 +03:00
Tkdrg 2b1a1f42fd Fixes chainsaws losing force when dropped
Fixes #12683
2015-10-27 11:36:55 -03:00
francinum 86f5a28e73 Update twohanded.dm 2015-10-26 13:27:24 -04:00
francinum faeabc713f Makes Twohand Required pickup use wield()
Fucking Ergo.
2015-10-26 13:18:11 -04:00
francinum 659823392f You drop The Murderfucker.
the to \the
2015-10-26 12:51:28 -04:00
francinum 571627b501 Goddamnit. 2015-10-25 22:41:11 -04:00
francinum 0f3a6d11c3 You drop the chainsaw. 2015-10-25 22:40:02 -04:00
francinum 44f3e23bf0 chainsaw is too cumbersome to carry in one hand! 2015-10-25 22:01:30 -04:00
Tkdrg 0458f939b4 Adds Chainsaws
Happy Halloween!

Sprites by WalterJe.

These are force 21 two-handed weapons. They are sharp and can be
tablecrafted by spending one circular saw, one plasteel sheet, and one cable
coil, plus a welding tool for crafting. The sound used is from the
freesounds.org and was released into the public domain. It is available
at https://www.freesound.org/people/esperri/sounds/118972/.

This is a rehash of PR #6320 if you're feeling dejavu.
2015-10-21 20:11:29 -03:00
KorPhaeron 8a3ce07b25 update icon 2015-10-19 15:40:33 -05:00
KorPhaeron d83b09255d no hitting space 2015-10-19 14:52:41 -05:00
KorPhaeron 6d706ee6d2 Tablecrafting 2015-10-19 14:06:40 -05:00
KorPhaeron e13665c7f4 Back sprites 2015-10-18 00:30:16 -05:00
KorPhaeron 86466ad0fd Balance 2015-10-17 04:22:20 -05:00
KorPhaeron 1069c00ae2 Bug fixes 2015-10-17 00:43:42 -05:00
KorPhaeron bc8745b026 Wielded only 2015-10-17 00:18:34 -05:00
KorPhaeron 8f15c2fc99 Explosion centered on target, throwing for BALANCE TESTING 2015-10-17 00:02:08 -05:00
KorPhaeron 3eef0ab6cc even less return 2015-10-14 03:27:20 -05:00
KorPhaeron 242a0624a2 All grenades 2015-10-14 03:23:46 -05:00
KorPhaeron 624f0e60d2 no return 2015-10-14 02:55:02 -05:00
KorPhaeron 8af071e9b8 WITNESS ME 2015-10-14 02:49:10 -05:00
xxalpha deb60ae309 Replaced /proc/is_sharp() with /obj/item/proc/is_sharp(). 2015-09-24 03:08:28 +01:00
Xhuis 6711406d6a Conflicts 2/3 2015-09-22 16:37:00 -04:00
phil235 f90ee4aa8c - Fixed monkey starting with no dna.
- Fixed bugs with monkeyize/humanize: 7803 (humanized monkey nobloodtype)
- Fixes 9298 monkeyed ling have troubles humanizing themself (already fixed?)
- Fixes despawning clothes when monkeyizing. 11855
- Replaced check_dna_integrity proc by simpler has_dna proc when required.
- created set_species() proc
- fixed space retrovirus not transfering SE (despite having a domutcheck()). Still need to check if it needs a name = real_name.
- I renamed mecha/var/dna to dna_lock to avoid confusion
- I renamed an armor var in a species proc to armor_block to avoid confusion with species/var/armor.
- I removed many if(dna) checks in lots of files.
- I removed duplicate defense procs between human/proc/X and dna.species/proc/X since dna is now always set.
- Anatomic panacea from changeling removes alien embryo correctly. 6247
- Fixes runtime when trying to put dna-less brain mmi into a dnalocked mech.
- Removed carbon/var/list/features, we now only have dna.features and prefs.features
- Remove hulk mutation from lizards and other species (Fixed 6413); only real humans can acquire hulk. (less work on sprites for each ones, fixes lizard tail not in hulk color)
- Fixes cloning not setting up correctly dna UE and dna.real_name
- I fixed the issue with sucked+cloned ling being unable to absorb
- I fixed issue with changeling proc checking if they have the dna already not working.
- Fixed 4095, low health hulk with DAA getting stuck in loop of acquiring/losing hulk.
- I added a second layer for mutations to differientate mutations that go below and above the body layer (Fixes 7858)
- Fixes 10048, the transform to initial appearence button was fucking up the dna.

- Fixes cloning not setting up correctly dna UE and dna.real_name
- Fixed the issue with sucked+cloned ling being unable to absorb
- Fixed issue with changeling proc checking if they have the dna already not working.
- Fixed 4095, low health hulk with DAA getting stuck in loop of acquiring/losing hulk.
- Added a second layer for mutations to differientate mutations that go below and above the body layer (Fixes 7858)
- Fixes 10048, the transform to initial appearence button was fucking up the dna.
2015-09-19 22:18:28 +02:00
Xhuis af31d566b2 Syndicate medical cyborgs 2015-09-17 20:02:48 -04:00
bear1ake f697ae90f5 removes a bunch of .0 2015-09-10 20:57:30 +09:00
bgobandit 4909600303 Adds/tweaks several suicide messages. 2015-08-23 15:02:34 -04:00
Firecage 4688c2c969 Fixes proc arguments 2015-07-15 23:52:35 +02:00
phil235 63aa008077 Merge pull request #9401 from Firecage/ofgibtonite
Adds a check to prevent a future ranged Gibtonite message + fixed the message
2015-06-17 15:12:10 +02:00
Firecage f79e0fc1aa Updates more paths, for example obj/stuff to /obj/stuff 2015-05-31 17:48:33 +02:00
AnturK 18dfa26419 Fixes renamed wielded items reverting to inital name 2015-05-19 18:15:47 +02:00
xxalpha ab16875492 Fixed dualhanded runtime. 2015-05-12 23:55:49 +01:00