Commit Graph

10065 Commits

Author SHA1 Message Date
Aryn f0f6f14355 Fixed up the errors related to ALL_ITEM_CONTAMINATION and hotspots, made extinguishers work again. 2012-05-27 12:49:26 -06:00
cib 0799cddb4b Cleanup of all the update_clothing() calls.
Mostly I replaced them with rebuild_appearance() or update_body_appearance() where suitable.

I also reorganized the new update_clothing() code a bit.
2012-05-27 20:43:52 +02:00
cib 479563cb28 Removed some stupidly copypasted code. The transform projectile will now only work on humans. 2012-05-27 17:59:44 +02:00
cib d096a85b9c First part of a fix for Issue #1177
- General cleanup of the update_clothing() mechanism
- Separated update_clothing() into different procs that handle the different things that need to be done(body appearance needs to be updated, clothing appearance needs to be updated, etc.)
- Made a new public interface with which one can do these things individually, so if you just want to add a wound to a mob, you don't have to rebuild the entire clothing.
2012-05-27 16:47:53 +02:00
cib 23c97901d8 update_clothing() needs only be called by drop_item() if something was actually dropped. 2012-05-27 16:43:39 +02:00
daniel.cf.hultgren@gmail.com aff56113a4 Made you able to disassemble a few more computers. These are:
* Arcade
 * Prison Shuttle Console
 * Area Air Control
 * Atmos Alert Computer
 * Mining Shuttle Console
If anybody is not okay with this, feel free to comment out the attackby code of that computer. But keep the circuitboard for future reference.
This should make all computers on the station be able to be disassembled.

Fixed some error message for cellchargers.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3683 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-27 13:45:01 +00:00
Albert Iordache ac86921745 Minor optimizations of update_clothing, removal of the ONESIZEFITSALL flag 2012-05-27 14:21:33 +03:00
Albert Iordache 1671021a8d Merge pull request #1172 from Erthilo/master
Bug fixes and new portalathe sprite
2012-05-26 22:04:43 -07:00
johnsonmt88@gmail.com 329c71c306 Disposal/Pipe Dispenser can no longer be used 'remotely' or while stunned or while they are unwrenched. Fixes issue 517.
Can no longer eject the nuke disk from the nuke while stunned. Fixes issue 497.

PA can now be powered down again.

Cyborg 'skull' masks now have east and west facing sprites. Fixes issue 468.
- I encourage anyone with actual spriting skills to redo them though, I just spent 5 second in photoshop whipping these up. (icons/mob/mask.dmi the icon labeled 'Death')

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3681 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-27 04:14:56 +00:00
elly1989@rocketmail.com bf3fe07b27 :S messed up some indentation with a last minute change. My bad, sorry.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3680 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-27 01:50:32 +00:00
elly1989@rocketmail.com d7c9e72a29 Added a new logging system that can be used for various things in the game (such as the singularity engine, AI interactions, anything-else that may be suggested to me :P).
At the moment it only logs some singularity things. Please let me know if there are any important methods of singulo-grief which I may have missed.

The "Investigate" verb is available to everyone of rank "Admin observer" and upwards. Just type "Investigate" and select the subject you'd like to see logs for. Typing "Investigate singulo" will also work as a shortcut.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3679 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-27 01:31:57 +00:00
Erthilo c7a910942c Fixes food not disappearing from hands when finished. 2012-05-27 00:01:17 +01:00
Erthilo 7e3a28bb82 Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
Conflicts:
	baystation12.dme
2012-05-26 13:46:06 +01:00
Aryn 6f00258376 I accidentally ALL THE THINGS! But yeah, ZAS is updated. 2012-05-26 02:01:26 -06:00
Albert Iordache 084e2ae561 Added /mob/proc/getFiles() 2012-05-26 09:18:48 +03:00
Albert Iordache 783349e8c7 Merge pull request #1153 from SkyMarshal/CoolTweaks
Added some SQL stuff from oldcode.  Someone should look this over.
2012-05-25 23:10:17 -07:00
Albert Iordache fd542d14c4 Fixed the bug where people would not see the formatted changelog 2012-05-26 09:01:24 +03:00
johnsonmt88@gmail.com 11a3b7e26d Pacman generators now accept their proper mineral sheets as fuel
Janitor Cyborgs can no longer make nuke ops auto-lose by picking up the nuke disk.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3673 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-26 02:29:52 +00:00
baloh.matevz@gmail.com 2fe93e3e25 - Replaced some hardcoded hallucination strings for screen placement to instead use #defines from hud.dm. Please don't use hardcoded constants when there are variables or defines available...
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3672 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-26 02:14:17 +00:00
Erthilo 6e289dabfc TG: Sanitized a large number of input()s.
- Hopefully this will cut down on the server spamming/crashing escapades
happening on other servers. (This wont stop that from happening, this just makes
it less severe)
- Some of the sanitizes were probably unnecessary, but better safe then sorry.

Added MAX_NAME_LEN constant which is initialized to 26.
- Please use MAX_NAME_LEN instead of typing in 26 when cutting inputs short.
26's are annoying when they have to be changed and you have to hunt through over
a hundred files and tens of thousands of lines of code to find them all.

Moved uplink_kits.dm to code/game/objects/storage

Moved uplinks.dm to code/game/objects
- The stuff inside uplinks.dm could really be chopped up and split into separate
dm files but this will do for now.

*********************************************************
**********************Important**************************
*********************************************************
When you create code that asks the user for an input consider whether or not it
gets shown to the user through html or the like.

If it does please sanatize() or strip_html() it. Also use copytext() to cutoff
spam by using MAX_NAME_LEN and MAX_MESSAGE_LEN as the cutoff var.
Revision: r3652
Author: 	 johnsonmt88
2012-05-26 00:09:56 +01:00
Erthilo bb747b2b7b TG: Adds admin memos. It allows admins to leave all the other admins little messages
which they can see when they log in. It is available to Game Admin rank and
upwards.

type "memo" to access the memo features:
>write: write a memo
>show: shows memos from all admins
>delete: delete your own. (Game Masters may delete other admins' memos)
Typing "memo write" etc works too.

Feature can be disabled by defining ENABLE_MEMOS as 0

MOTD moved to new_player/Login so peole don't see that big motd everytime they
DC
Revision: r3650
Author: 	 elly1...@rocketmail.com
2012-05-25 22:45:27 +01:00
Erthilo 276b83589e TG: Added an emergency shutdown proc to the holodeck control computer.
- Destroying, damaging or emping the computer will now cause the holodeck to
revert to its original state. Meaning this should help stop people taking
eswords out of the holodeck.

The detective's gun renaming verb moved from the BYOND default 'you did not set
a category' tab into the 'objects' tab

Mob.dm's stripping proc was a single very looooooooooooong line of code. It is
now multiple lines of code.
Revision: r3649
Author: 	 johnsonmt88
2012-05-25 22:32:26 +01:00
Erthilo 29ccf28948 TG: Added confirmation prompt for admin gibself verb. For Breadstrong
Revision: r3648
Author: 	 ericgfw...@hotmail.com
2012-05-25 22:26:59 +01:00
baloh.matevz@gmail.com c2c7a3bcda - Variable declaration standardization. Big commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3671 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 19:26:36 +00:00
cib 4e79302e4b Disease changes.
- Removed all emote symptoms.
- Cleaned and organized the file.
- Added vomit and blood loss symptoms.
2012-05-25 19:11:26 +02:00
d_h2005@yahoo.com 27beab19d1 -Minor polishing tweak to borg hypos. The recharge time/cost and recharged chemicals cut in half (same net amount over time, but it comes more fluidly). Resets the recharge timer upon
switching modes so your battery charge and chemicals aren't wasted.
-Added the (src)s to the robot modules that I forgot. It all seems to work fine without them, but just for the sake of consistency...

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3669 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 17:10:26 +00:00
cib 20b0656c35 Moved the vomit() and the drip() proc to /mob/living/carbon 2012-05-25 18:57:53 +02:00
baloh.matevz@gmail.com cfa1d1ed1f - Some runtime-prevention tweaks so that impatient coders don't just break everything somewhere down the line.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3665 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 16:34:10 +00:00
baloh.matevz@gmail.com 4348d6f0cb - Fixing some code typos.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3664 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 15:35:05 +00:00
baloh.matevz@gmail.com a30aca4327 - Standardized var definition for RND and radio code (possibly some other stuff)
- Removed all cases (that I saw anyway) of flags being defined by static numbers.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3663 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 14:48:47 +00:00
petethegoat@gmail.com 4413e5456d Replaced engineering rig suits with sexy new environment suits, sprites courtesy of Baystation 12.
Fixed Erro's backpack derp- backpacks are wearable once again.

Added a obj/structure ex_act(), blob_act(), and meteorhit().

Made gasmasks block visibility of glasses and ears.

Fixed being able to wear plasma tanks on your back.

Fixed the gas mixer sprite not lining up with horizontal pipes correctly.

Removed a bunch of pointless text()s from a few files. I was going to get rid of all of them, but I gave up after a while. Most of the diffs are this.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3662 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 14:40:43 +00:00
baloh.matevz@gmail.com 18ccabb33a - Removed support for the ONBACK and ONBELT flags.
- Replaced them with a whole range of inventory slot flags. These now govern whether an item can or can't be placed in a certain inventory slot. See setup.dm for information on the flags. These flags only affect humans tho, as humans are the only beings with an inventory to talk of.
- Standardized some gun code and some other pieces of code as I came accross them. I hate indented variable definitions!

This commit should not bring any change whatsoever to the game from a player's perspective.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3659 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 07:38:36 +00:00
Erthilo df59274464 Better sprite for non-standard tank assemblies. New cool jacket from Flashkirby! 2012-05-25 02:06:05 +01:00
Erthilo 2a3967abf3 Renames Emergency Medical Technician to Emergency Physician to avoid "lol u not doctor". Virologists get their jumpsuit and labcoats back, yay! Fix for observers being able to observe than join a round immediately. 2012-05-24 23:19:52 +01:00
Erthilo 1c8b1b7c72 Fixes pill bottle pickup by removing a rogue attackby proc. 2012-05-24 23:12:04 +01:00
johnsonmt88@gmail.com fd529891ca Sanitized a large number of input()s.
- Hopefully this will cut down on the server spamming/crashing escapades happening on other servers. (This wont stop that from happening, this just makes it less severe)
- Some of the sanitizes were probably unnecessary, but better safe then sorry.

Added MAX_NAME_LEN constant which is initialized to 26.
- Please use MAX_NAME_LEN instead of typing in 26 when cutting inputs short. 26's are annoying when they have to be changed and you have to hunt through over a hundred files and tens of thousands of lines of code to find them all.

Moved uplink_kits.dm to code/game/objects/storage

Moved uplinks.dm to code/game/objects
- The stuff inside uplinks.dm could really be chopped up and split into separate dm files but this will do for now.


*********************************************************
**********************Important**************************
*********************************************************
When you create code that asks the user for an input consider whether or not it gets shown to the user through html or the like.

If it does please sanatize() or strip_html() it. Also use copytext() to cutoff spam by using MAX_NAME_LEN and MAX_MESSAGE_LEN as the cutoff var.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3652 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-24 19:34:04 +00:00
cib 2b851f70bf Merge github.com:Baystation12/Baystation12 2012-05-24 21:08:47 +02:00
cib 111c8b9dbb Hunger system tweaks.
- Reverted hunger rate from 0.05 to 0.1
- Lessened the slowdown effect of being hungry to 1/4
- You will now receive hunger messages a bit earlier.
2012-05-24 21:01:20 +02:00
elly1989@rocketmail.com 86149b1c0b Adds admin memos. It allows admins to leave all the other admins little messages which they can see when they log in. It is available to Game Admin rank and upwards.
type "memo" to access the memo features:
>write: write a memo
>show: shows memos from all admins
>delete: delete your own. (Game Masters may delete other admins' memos)
Typing "memo write" etc works too.

Feature can be disabled by defining ENABLE_MEMOS as 0

MOTD moved to new_player/Login so peole don't see that big motd everytime they DC

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3650 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-24 17:53:38 +00:00
johnsonmt88@gmail.com 6fee9fe4cc Added an emergency shutdown proc to the holodeck control computer.
- Destroying, damaging or emping the computer will now cause the holodeck to revert to its original state. Meaning this should help stop people taking eswords out of the holodeck.

The detective's gun renaming verb moved from the BYOND default 'you did not set a category' tab into the 'objects' tab

Mob.dm's stripping proc was a single very looooooooooooong line of code. It is now multiple lines of code.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3649 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-24 13:22:56 +00:00
CIB b2ee78f697 Merge pull request #1155 from CIB/master
Blood fix
2012-05-24 01:45:04 -07:00
cib 636b2d573a Lack of blood_DNA will no longer lead to all blood mysteriously evaporating. 2012-05-24 10:44:04 +02:00
ericgfwong@hotmail.com f5b0817bc0 Added confirmation prompt for admin gibself verb. For Breadstrong
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3648 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-24 03:36:55 +00:00
SkyMarshal 7e92be62ae Added some SQL stuff from oldcode. Someone should look this over. 2012-05-23 16:03:46 -07:00
Erthilo 1454dd92dd Merge branch 'master' of github.com:Baystation12/Baystation12
Conflicts:
	html/changelog.html
2012-05-23 23:13:12 +01:00
Erthilo a4686e9cff HUD Update
TG: - User interface updates.
Revision: r3646
Author: 	 baloh.matevz

TG: - Added a character setup option which allows you to pick between the Midnight,
Orange and Old icon sets for the user interface.
- Deleted most of the unneeded icons from screen1_Midnight.dmi Use that as the
reference for making new icon sets.
Revision: r3647
Author: 	 baloh.matevz
2012-05-23 22:58:52 +01:00
cib 4b78746f59 Updated changelog. 2012-05-23 21:25:22 +02:00
cib a72ef83e79 Worked on bleeding and human life.
- Fixed a bug where a mob would keep bleeding out due to having lost blood.
- Cleaned up some code.
- Moved some organ and bloodloss stuff into separate functions.
2012-05-23 21:12:25 +02:00
baloh.matevz@gmail.com fd48ee5e8b - Added a character setup option which allows you to pick between the Midnight, Orange and Old icon sets for the user interface.
- Deleted most of the unneeded icons from screen1_Midnight.dmi Use that as the reference for making new icon sets.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3647 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-23 19:11:08 +00:00
cib 81d3e6bed4 Added Appel's hunger messages. More Cleanup. 2012-05-23 20:10:51 +02:00