Commit Graph

1347 Commits

Author SHA1 Message Date
Erthilo
112fb5433e TG: - Some runtime-prevention tweaks so that impatient coders don't just break
everything somewhere down the line.
Revision: r3665
Author: 	 baloh.matevz
2012-05-29 00:33:25 +01:00
Aryn
c9478c6a46 Made SkyMarshal's recommended changes. 2012-05-28 16:41:18 -06:00
Erthilo
7f77c0ec91 TG: - 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.
Revision: r3663
Author: 	 baloh.matevz
2012-05-28 23:37:43 +01:00
Erthilo
a7dd312b3e TG: - 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.
Revision: r3659
Author: 	 baloh.matevz
2012-05-28 22:58:57 +01:00
Erthilo
2b2c8120f7 More HUD changes: https://dl.dropbox.com/u/4911517/ShareX/2012-05/2012-05-28_20-40-50.png 2012-05-28 20:41:05 +01:00
SkyMarshal
7a37d9bb05 Merge pull request #1167 from Erthilo/TGUpdates
TG Updates r3648 to r3657
2012-05-28 11:52:44 -07:00
Aryn
ae2bf3c17d Merge branch 'master' of git://github.com/Baystation12/Baystation12 2012-05-27 12:50:23 -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
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
Albert Iordache
ac86921745 Minor optimizations of update_clothing, removal of the ONESIZEFITSALL flag 2012-05-27 14:21:33 +03: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
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
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
cib
20b0656c35 Moved the vomit() and the drip() proc to /mob/living/carbon 2012-05-25 18:57:53 +02: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
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
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
cib
81d3e6bed4 Added Appel's hunger messages. More Cleanup. 2012-05-23 20:10:51 +02:00
cib
6c8ed5c0bc Added the necessary check to blood regeneration. 2012-05-23 19:44:37 +02:00
Erthilo
2f120fc7e4 TG: -Medical borg overhaul. Instead of a dozen random one-use pills and syringes,
they get an advanced hypospray that can switch between auto-replenishing
tricordrazine, inprovaline, and spaceacillin.
-Janitorborgs get a mop again, because without it they had no way of hitting
anything.
Revision: r3644
Author: 	 d_h2...@yahoo.com
2012-05-23 18:10:28 +01:00
cib
e1355be043 Fixed the dumbest way to find a rune in src.loc ever. 2012-05-23 19:00:57 +02:00
cib
901dc8a0a8 Cleanup of code/modules/mob/living/carbon/human/life.dm
- Added comments to handle_regular_hud_updates()
- Removed redundant code and commented code
- Made a dedicated mob/living/carbon/human/proc/vomit(), which can be called from other places now, such as *emote
2012-05-23 18:32:12 +02:00
Mloc
c1a90c1b7a Merge pull request #1142 from Erthilo/master
Fixes Tajaran spawning as humans with furry bits. Fixes cyborgs using recharges. Fixes medical messages.
2012-05-23 07:50:00 -07:00
Mloc
b89e45c27b Merge pull request #1143 from CIB/master
HUD fix
2012-05-23 07:49:08 -07:00
cib
6d5521625d The HUD crit display now updates properly(crit is when your heart stops beating, not when you collapse due to trauma). 2012-05-23 16:44:57 +02:00
Erthilo
5c3cdda40f Fixes Tajaran spawning as humans with furry bits. Fixes cyborgs using recharges. Fixes medical messages. 2012-05-23 15:21:54 +01:00
Erthilo
3fcd1f68f7 Comments out blood regen due to runtimes. Fixed some problems with sleeping and resting and chloral (does not actually increase sleeping times!). Adds some messages for sleeping. 2012-05-23 02:14:35 +01:00
Erthilo
8131287d03 Hopefully fixes the handle_regular_status_updates runtime. Also adds option for admins to allow Taj/Sog for a round on the player panel. This needs to be done before spawning! 2012-05-22 22:14:47 +01:00
cib
615871b0ce Merge github.com:Baystation12/Baystation12
Conflicts:
	html/changelog.html
2012-05-22 14:50:00 +02:00
cib
79e2cdef86 Updated changelog. Added some bug info to places in the code. 2012-05-22 14:29:01 +02:00
cib
fda676435e Added a specific sleep message, memes now see their points on the status screen, admin-adding a meme now adds them to the meme list. 2012-05-22 13:55:00 +02:00
cib
d887d8ae41 Fixed a few issues with the meme admin stuff. 2012-05-22 13:13:01 +02:00
cib
56b178f396 Implemented #1107. 2012-05-22 11:24:42 +02:00
Erthilo
89aa2d0a90 TG: - Fixed some odd behavior with storage items when you drag-dropped them from the
floor without ever picking them up.
- New hotkeys: Delete is the 'stop dragging' button and insert cycles through
intents.
- Added some user feedback messages to the drop, throw, stop-dragging and cycle-
intents hotkeys.
- Added the hotkeys thing to the changelog.
Revision: r3631
Author: 	 baloh.matevz
2012-05-21 20:31:53 +01:00
Erthilo
c84aa96cc4 TG: The new 'sleek' user interface is going live.
OLD screenshots (Actual hud uses black/orange scheme):
Humans:
http://www.kamletos.si/ss13%20hud%2018%20human%20standard.png
http://www.kamletos.si/ss13%20hud%2018%20human%20full.png

Borgs:
http://www.kamletos.si/ss13%20hud%2018%20borg.png

Aliens:
http://www.kamletos.si/ss13%20hud%2018%20larva.png
http://www.kamletos.si/ss13%20hud%2018%20alien.png

Monkeys:
http://www.kamletos.si/ss13%20hud%2018%20monkey.png
Revision: r3630
Author: 	 baloh.matevz
2012-05-21 20:29:35 +01:00
Erthilo
3c1d50232a Fixes workaround if someone has a savefile and is taken off the alien whitelist. 2012-05-21 14:23:32 +01:00
Erthilo
d8a2e17f3a Hotfix for Tajarans. Reverts tajaran.dm. Guess blend doesn't work there. Also prevent skin change workaround. 2012-05-21 12:31:33 +01:00
Erthilo
eb599dd33a Merge pull request #1119 from SkyMarshal/BugFixes
Bug fixes
2012-05-20 14:42:30 -07:00