Commit Graph

6438 Commits

Author SHA1 Message Date
Rolan7 992ec337e6 Put the hud_used.hud_shown checks back for hideable inventory slots, preventing the placed items from floating in empty space above the closed inventory. 2014-05-19 05:37:46 -04:00
Rolan7 31d69ef4f5 Sets the screenloc property for items in update_icons even if there's no client at the moment (possibly because the player has lost the connection temporarily). 2014-05-19 02:48:53 -04:00
Rolan7 a36afba82a Merge branch 'master' of https://github.com/tgstation/-tg-station into Issue236_Trays
Conflicts:
	_maps/map_files/tgstation.2.1.2.dmm (The map was deleted)
	code/game/objects/items/weapons/kitchen.dm (Someone fixed up tray attack code a little, whereas I moved trays to a subclass of bags and made the attack code very simple by comparison.  Went with my solution.)
2014-05-18 20:50:38 -04:00
Kelenius 1d4a6c5d26 Merge branch 'master' into slimes
Conflicts:
	code/modules/mob/living/carbon/metroid/metroid.dm
2014-05-18 21:38:25 +04:00
Kelenius ed5f8a0ee6 Fixes, part 1 2014-05-18 21:27:40 +04:00
Cheridan 36bb032957 Merge pull request #3509 from Cheridan/MeteorsSuck
Meteor Stuff
2014-05-17 18:42:16 -05:00
ikarrus 4926933e41 You can now set internals on someone else's belt and suit storage 2014-05-17 15:24:07 -06:00
Cheridan 86e36fb934 Merge pull request #3598 from phil235/ConstructHitFix
Stops constructs from hitting themselves
2014-05-15 12:56:38 -05:00
Cheridan a016d1463a Merge pull request #3608 from hornygranny/lookmanohands
Fixes #3157
2014-05-15 12:50:22 -05:00
Rolan7 c587fa440d Merge branch 'master' of https://github.com/tgstation/-tg-station into Issue3401
In monkey.dm my SpeciesCanConsume check was conflicting with a new canBeHandcuffed check.  All resolved now.
2014-05-14 11:07:43 -04: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
Ikarrus 20aec66a26 Extra period 2014-05-10 20:17:10 -06:00
ikarrus 995338c21d -Added attack cooldown for space vines and simple animals
-Reduced some duplicate code in constructs.dm
2014-05-10 18:16:35 -06:00
Kelenius d41ee9ee8a Why the hell not 2014-05-11 00:47:16 +04:00
Rolan7 d871779432 Replaced the isRobot() check with two new functions, one of which is overloaded for robots. Object oriented programming intensifies! 2014-05-09 18:03:49 -04:00
Rolan7 c7e52e8b40 Replaces the serviceborg beer bottle with a drinking glass, adds beer to the shaker. Emagging unlocks a second shaker with a different icon and description (but the same name) which dispenses beer2 (the disguise chloral) or mutagen or thermite.
MUTAGEN might be controversial I assume...  The service borg has no spray bottle though.

Moves update_robot_modules_display() to fix a UI glitch where using the home to unequip a module wasn't making the module appear in the storage list until it was otherwise updated.

Robots no longer take fire damage from fire stacks, since they're otherwise immune to heat... also, fire stacks will gradually burn off and the borg will stop being on fire.

Service borg emag beer (beer2) was oldchloral instead of newchloral.  Excellent argument against copy-paste.  Fixed.

Removed the dumb "if this happened to be a borg's drink container, refill whatever it's currently holding the most of after a delay" which lead to an easy reagent duplication glitch, and was generally shit.  Fixes issue #1673.

Uncapitalized some drink names which weren't proper nouns, and changed stuff like "Beer glass" to "glass of beer".

This still fixes #3401 too of course
2014-05-09 06:10:35 -04:00
Giacomand 29232bbbdc Mobs will now slowly bop up and down while in zero gravity. 2014-05-09 00:00:44 +01:00
Rolan7 5b219ea119 Fixes issue #146, borgs placing modules on people
Simple fix for this one...
2014-05-07 14:54:35 -04:00
Rolan7 f2493b4c37 Makes trays a subclass of bag.
This somewhat changes how items are placed on them, but for the better as it's more consistent with existing mechanics.
Hitting someone with the tray still scatters the contents around!  Works on nonhumans.
Placing icons on the tray still makes them show up on the tray.  Using the tray on a table now places the items onto the table, or places the tray itself if it's empty.  Robots can't lose their tray this way, I checked.
Service borgs can actually use their tray to carry things!  Trays can hold all sorts of stuff, as long as it's small...
A service borg can carry the nuke disk around.  The pinpointer does follow it correctly.
If the service borg stashes its tray module, dies, explodes, gibselfs, or is forced to stash its modules by damage, it drops all the tray's contents on the ground.

Fixes #236 (service borgs can't use trays) and #2991 (Items on food trays can't be picked up).  Didn't address #1919, the layer issue.

Fixes the "bajillion lines changed" with the maps.
2014-05-07 13:04:22 -04:00
Alex 8a731f3bdc Merge pull request #3568 from Giacom/rip_cyborg_inventory_bugs
Fixes #3565. Added a "put_in_hand_check" which returns 1 if the item can be equipped ...
2014-05-06 20:07:49 +01:00
Alex 38b56975f5 Merge pull request #3591 from Aranclanos/ghostize
Mindless ghosts fix
2014-05-06 08:14:46 +01:00
Razharas 282a5d3a2b Merge pull request #3379 from Cheridan/sliceofpai
Refactors pAI law code...
2014-05-05 07:33:17 -07:00
Alex 923802cd71 Merge pull request #3619 from Ikarrus/fix3590
Runtime fix for putting someone in a human mob before the round starts
2014-05-03 23:10:00 +01:00
Miauw62 eec72aa516 Merge pull request #3472 from Menshin/missing_nodrop
Nodrop  checks for several machines/structures
2014-05-03 15:44:26 +02:00
ikarrus d0380956a4 Runtime fix for putting someone in a human mob before the round starts
Fixes #3590
2014-05-01 20:29:03 -06:00
Hornygranny 237cabd1c5 removed old code 2014-05-01 17:55:12 -07:00
Hornygranny 4fd7a6312d Moved check for magboots to human_movement 2014-05-01 17:48:56 -07:00
Kelenius 45bb631363 Two small fixes 2014-05-01 22:25:41 +04: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
Kelenius dc70e962f9 Fix for them having a frozen face upon death 2014-05-01 15:41:27 +04:00
Kelenius 59e19ed3f8 ALMOST FORGOT 2014-05-01 15:25:20 +04:00
Kelenius 3e5269d824 Removed debug stuff 2014-05-01 14:53:12 +04:00
Kelenius 3f1574a475 Added slime scanner
Much less nutrition consumed, but they actually use it to grow
Made mutation chance random between 25 and 35
Slime core reactions use 1 unit of reagent
Code cleanups
2014-05-01 14:51:26 +04:00
Hornygranny 25b6628b89 Fixes #3157 2014-04-30 17:56:07 -07:00
phil235 8d9658bb2b adding span class everywhere + fix attack messages 2014-04-30 21:58:03 +02:00
phil235 45dac26480 Stops constructs from hitting themselves 2014-04-30 20:21:36 +02:00
Aranclanos e5505de958 ghostize() won't create mindless ghosts of a fake ckey generated by aghost anymore. 2014-04-30 07:15:20 -03:00
Aranclanos c9bbe7c8ec Fixes issue #2491
makes a new proc for carbon mobs canBeHandcuffed(). Humans, aliens and monkeys return 1, everything else, 0.
2014-04-29 10:36:49 -03:00
Cheridan 4073e80166 Merge pull request #3556 from Aranclanos/larvamouse
Larvas will now increase their amount grown properly with mouses
2014-04-28 17:58:44 -05:00
Cheridan 31831cdb5a Merge pull request #3548 from Ikarrus/newmobprefs
New Human Mobs will have the appearance of the client's preferences
2014-04-28 14:50:26 -05:00
Giacomand 7f4369ae99 Added a "put_in_hand_check" which returns 1 if the item can be equipped in the hand. Replaced the duplicated checks in "put_in_l/r_hand"
Silicons override the check and return 0.
2014-04-28 19:26:09 +01:00
Cheridan 9a611a96f9 Merge pull request #3475 from Giacom/call_for_no_raison
You now have to give a reason for shuttle calls, from the communication console.
2014-04-27 20:33:16 -05:00
Aranclanos 50b88abd42 Larvas will now increase their amount grown properly with mouses 2014-04-27 18:23:30 -03:00
Cheridan 3e1a718231 Merge pull request #3526 from Ikarrus/hairport
Ported New Hairs from NTS
2014-04-27 15:54:55 -05:00
ikarrus c7041eefce New Human Mobs will have the appearance of the client's preferences
New human mobs created via Admin Simple Transform, Admin Spawn Antagonist, and Wizard Apprentice functions will take on the appearance of the players' preferences, instead of the boring default Bald, White Male.

Also fixes an minor issue with using transfer_to() a new observer mob.
2014-04-27 14:40:28 -06:00
Rolan7 0656ef44e4 Fixes issue #3401 by adding a helper proc to mobs which specifies whether a mob has the racial ability to eat and drink, and checks this proc in the "canconsume" reagent proc (called when someone is fed or tries to eat/drink). Humans, aliens, and monkeys can all be fed food and drink as a result, and service borgs can no longer drink their own coolaid (to get diseases or otherwise). 2014-04-25 14:37:27 -04:00
Giacomand 4deef8fb4e The AI can now properly call the shuttle, their call shuttle verb now requires a reason.
The interface uses a link instead of a form button.
2014-04-25 14:37:44 +01:00
Cheridan 94356c6937 Merge pull request #3277 from Aranclanos/StarsHTML
the stars() proc will now use the html_decode()
2014-04-24 23:35:09 -05:00
Cheridan a081d487f7 Merge pull request #3424 from Nnelg/Polymorphic-can_equip
Polymorphic can_equip
2014-04-24 23:13:58 -05:00
ikarrus 35463ad9c0 Minor adjustments 2014-04-24 21:17:19 -06:00