Commit Graph

12387 Commits

Author SHA1 Message Date
Mike
0df1ce1b41 Fixes #4758
Fixed issue where removing the power cell would prevent certain checks
on robot components. Also cleaned up
/mob/living/silicon/robot/proc/use_power(), moved code related to status
for better SRP. Added a line to the examine text to hint that the borg
can still move without power.
Sorry for all of this being in a single commit, things got screwed up
with git.
2014-04-16 19:55:22 -04:00
Chinsky
0c10b63114 Merge pull request #4743 from Jarcolr/omega
Adds 2 new groups to cargo console; tweaks
2014-04-14 22:32:39 +04:00
Chinsky
336a1c09ab Merge pull request #4753 from mwerezak/magboots-action-icon
Magboots action icon
2014-04-14 16:11:52 +04:00
Chinsky
99c4ef1544 Merge pull request #4745 from Jarcolr/issuefix
Fixes #4721
2014-04-14 16:04:54 +04:00
Mike
b24b39d267 Clean up check for item being equipped
Moved some common code to item.dm. Someone should probably take a look
at get_equipped_items() in inventory.dm sometime in the future.
2014-04-13 13:36:48 -04:00
Mike
dc6af64416 Prevent vox boots from enabling in player's hand
Vox players can't "dig their claws into the flooring" when holding the
boots in their hand. When enabled, the boots can't be taken off until
disabled.
2014-04-13 13:18:36 -04:00
Mike
55b7f7a283 Removed the now-redundant verb
Less clutter for the object panel.
2014-04-13 10:59:13 -04:00
Mike
d85d2ce1e4 Enabled action icon for magboots 2014-04-13 10:58:31 -04:00
Walter0o
e4e25687b0 Fixes a critical exploit.
While browsing through my server's code looking for possible exploits to fix, i noticed the following :

The autolathe can be used to duplicate any and all objs.

The faulty code accepts any refID from the usr without a safetycheck to see if the requested obj is in the autolathe_recipes list.

This works "only" on objs because it will trigger a runtime error if the object has no material vars.

The default buildcost values for obj are zero, so it always goes through the materials-check, but it would not be sufficient to plug this exploit at this point.

The trivial fix is to have a check to see if the given refID is in the autolathe_recipes list, although a datum-based construction method would probably be more robust.

As basically identical autolathe code appears to be used in Baycode , /tg/, /vg/, Para, and all other builds i could look at, i assumed this exploit has been undetected since Goon.

And indeed, the faulty code is present in Gooncode rev4407 and has been ever since.
2014-04-13 11:30:44 +02:00
Jarcolr
522bebb197 Fixes #4721
Also added the multitool to bomb supply storage.
2014-04-12 13:06:10 +03:00
SparklySheep
496645fc62 Churp 2014-04-11 12:21:28 -05:00
SparklySheep
d12f2570cd Nurp 2014-04-11 12:15:11 -05:00
SparklySheep
217c3f78a1 Derp 2014-04-11 12:04:16 -05:00
SparklySheep
21cc256945 Hurp 2014-04-11 12:01:33 -05:00
Jarcolr
6d36f8e3e0 Adds 2 new groups to cargo console; tweaks
It may look like Supply, Operations, Hospitality and Miscellaneous might
not be filled enough with choices, but I'll see about making a huge
cargo update on dev.
2014-04-11 19:49:48 +03:00
SparklySheep
c355a30cf6 Removes E-bow Instant Stun. Slight tox buff.
The E-bow with the stun is currently the most powerful weapon in the game. Stuns on hit, causes immediate damage, unlimited ammo with recharge, and the stun is not affected by armor. You can viably stunlock someone to death just by occasionally shooting them without running out of ammo. Horrible design and it warrants an immediate removal until I finish my E-bow changes later.
2014-04-10 14:41:37 -05:00
Chinsky
06fd99b9ba Merge pull request #4723 from Jarcolr/diction
Fixes some typos and descriptions
2014-04-09 21:48:19 +04:00
Chinsky
e237c03b30 Merge pull request #4710 from RavingManiac/master
Tape recorders work in closets and containers
2014-04-09 21:44:22 +04:00
Jarcolr
5ca99dabe7 Adds an additional \ 2014-04-09 14:06:52 +03:00
Jarcolr
ecde9b50b0 Thy does not equal They
Of course,I make a mistake in my PR for fixing typos.
2014-04-08 14:59:50 +03:00
Jarcolr
868dea5681 Grammar patch 1
This is just the first one of many.
2014-04-08 14:48:31 +03:00
Mloc-Argent
9b19d7dacf atmos: remove a few force-deletes in merge code
Removes del(giver) from pipeline/merge(), turf/assume_air() and
atom/assume_air().
Thanks to valzargaming on reddit/github for pointing it out.
fixes #4717

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-04-07 17:28:09 +01:00
RavingManiac
ac9d37261f Check restricted to closets and storage items due to lag concerns. 2014-04-07 20:45:05 +08:00
RavingManiac
795df2b2c9 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2014-04-07 20:18:20 +08:00
Ccomp5950
82d4d3a497 Merge pull request #4712 from Jarcolr/kilo
Fix for #4701 and immersion
2014-04-07 02:20:55 -05:00
DJSnapshot
d96fc4a057 Merge pull request #4704 from Jarcolr/patch-1
Fix for #4681
2014-04-06 18:33:51 -07:00
Chinsky
4ee7569858 Merge pull request #4694 from mwerezak/master
Fixes #4689, #4680
2014-04-06 22:12:08 +04:00
Chinsky
5300508fc2 Merge pull request #4702 from Jarcolr/patch-2
Kicking a grille does 2 less damage; fix for #4557
2014-04-06 22:11:43 +04:00
Jarcolr
b83e0f2ad7 Adds additional text to lighting 2014-04-06 13:24:44 +03:00
Jarcolr
b6ee8a62b0 Fix for 4601 and immersion
Premium Cigar now understands being lit,and the corn cob pipe/ cigars
now no longer refuse being hit by fire.
2014-04-06 12:43:58 +03:00
RavingManiac
f0bda5a494 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2014-04-06 14:28:28 +08:00
RavingManiac
e348f532ab Items inside objects will now hear what the object is hearing, as will items inside those items. This allows tape recorders to work in containers and closets. 2014-04-06 14:20:57 +08:00
Ccomp5950
5933496ad0 Merge pull request #4696 from Jarcolr/epsilon
Removes unfat sting from changeling evolution menu
2014-04-06 00:16:42 -05:00
DJSnapshot
772edffad1 Merge pull request #4700 from Jarcolr/diction
Spaghetti isn't called spagetti anymore
2014-04-05 17:05:06 -07:00
Jarcolr
31f935413e Fix for #4681
#nerftele2014
2014-04-05 23:27:07 +03:00
Jarcolr
a3bf9733a2 Kicking a grille does 2 less damage; fix for #4557
It will now take 10 hits to destroy it without using a weapon or tools.

Take that,metagamers!
2014-04-05 19:15:41 +03:00
Jarcolr
bec699bb7c Spaghetti isn't called spagetti anymore
Didn't change the code/vars/recipes; just fixed the Name line to the
proper spelling.
2014-04-05 18:13:19 +03:00
Jarcolr
925cb02ef7 Removes useless unfat sting from evolution menu
Also fixed a typo; but meh.

No point in having to use points on something that has no use.
2014-04-05 10:20:54 +03:00
Mike
920a08412b Fixes #4689
Rods can't break reinforced windows.
2014-04-05 00:38:48 -04:00
Ccomp5950
753a2ef08c Code Effeciency Project: Vent scrubbers have a bit more sanity.
No longer checking for 0.00000000000000000000000001 moles of toxins scrubers can only detect stuff worse then 0.001 moles.

Have a nice day.
2014-04-04 13:21:47 -05:00
Mike
efba89daff Corrected comments for CELLRATE and CHARGELEVEL
Comments erroneously stated that a value of 0.002 would convert 1000
watts to 20 charge per tick, when in reality 1000*0.002 = 2 not 20.
Similarly for CHARGELEVEL.
2014-04-02 23:48:48 -04:00
Mike
353941db7c APCs that are undersupplied now call cell.give()
APCs that are undersupplied now call cell.give() instead of manipulating
cell.charge directly, for better encapsulation.
2014-04-02 23:46:54 -04:00
Ccomp5950
78968de207 Merge pull request #4674 from Jarcolr/diction
Fixes #4621
2014-04-01 13:39:11 -05:00
Jarcolr
b33e9d0b92 Fixes #4621
Shogun forgotten in time.
2014-04-01 17:36:36 +03:00
Chinsky
0bf6708342 Merge pull request #4666 from Ccomp5950/apc_fix
APC bugfix after someone messed with mah areas!
2014-04-01 18:17:22 +04:00
Chinsky
26007716e4 Merge pull request #4660 from Jarcolr/patch-2
Can no longer use fire extinguisher closet without hands
2014-04-01 16:23:18 +04:00
Ccomp5950
6af132b834 APC bugfix after someone messed with mah areas!
This was probably bound to happen either way the previous version was based upon a faulty understanding of how the areas worked this is much more robust and only messes with the master areas
and master areas needing power updates call power updates for the each of it's child areas.  Also added where messing with SMESes called for an update on all areas power consumption, probably
not required but doing so either way.

We also rebuild the active_areas list every 5 minutes, if you get a engineer that wants to build a new area off of the station with APC's set rebuild_all_areas in the master controller and it will
update instantly, otherwise wait 5 minutes.  The only downside to this 5 minutes is you might get free energy until that area becomes active.
2014-04-01 03:06:58 -05:00
Jarcolr
231ecb6890 Cannot wash your missing hands anymore
M as mob changed to user as mob; don't know why it was shortened to 1 letter,but eh.
2014-03-31 21:13:26 +03:00
Jarcolr
ffd4afa43d Also fixes paperbin without hands
Whee.
2014-03-31 18:48:57 +03:00
Jarcolr
cf42e348f0 Can no longer use fire extinguisher closet without hands
If you did not have hands,you could click on a emergency closet and have it spawn in your hand,and it would stay there,floating.
Cool,right?
2014-03-31 18:19:25 +03:00