Commit Graph

4785 Commits

Author SHA1 Message Date
Erthilo
126e4f1365 TG: - 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...
Revision: r3672
Author: 	 baloh.matevz
2012-05-29 00:56:13 +01:00
Erthilo
9fa147c6dd TG: -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...
Revision: r3669
Author: 	 d_h2...@yahoo.com

(Also fixes for equip proc due to two ears.)
2012-05-29 00:50:14 +01:00
Erthilo
340f4ced91 tg: - Added a equip_to_appropriate_slot() proc for later use with the UI to speed up
equipping yourself. Human mobs only.
Revision: r3667
Author: 	 baloh.matevz
2012-05-29 00:43:50 +01:00
Erthilo
835623de13 TG: Added new transfer valve assembly sprites from Baystation 12, and made the
transfer valve update_icon() a lot simpler and more robust.
Revision: r3666
Author: 	 petethegoat
2012-05-29 00:40:25 +01:00
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
a8215ce62f Made some airflow changes. They won't be included in the processing code until they're more thoroughly tested, but the code is here anyway. 2012-05-28 16:42:40 -06: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
9d1e9f8505 TG: (Renames and repaths engineering space suits, does not replace RIG suits)
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.
Revision: r3662
Author: 	 petethegoat
2012-05-28 23:24:55 +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
cdb1cb3a4f Fixes a typo, and changelog. 2012-05-28 20:50:45 +01:00
Erthilo
4d7b4b284c Fixes for response team notes. Soghun removed from staff of change. 2012-05-28 20:42:47 +01:00
Erthilo
71b0c5d024 Surgeons spawn with scrubs, Emergency Physicians spawn with first responder jackets. 2012-05-28 20:42:15 +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
Erthilo
e106fe4c51 Adds water bottles to vending machines. 2012-05-28 20:14:19 +01:00
SkyMarshal
7a37d9bb05 Merge pull request #1167 from Erthilo/TGUpdates
TG Updates r3648 to r3657
2012-05-28 11:52:44 -07:00
Erthilo
2cf86ef25e Changed MAX_NAME_LEN to 40. 2012-05-28 20:52:04 +02:00
Erthilo
88846eb099 Fixes to Tajaran lying down sprites. Removed "lipstick" from Soghun/Tajaran. Removed "bumps" from Soghun. 2012-05-28 19:49:10 +01:00
sick-trigger
58a23c8d10 Fixes #1180 2012-05-28 19:18:07 +10:00
Aryn
ae2bf3c17d Merge branch 'master' of git://github.com/Baystation12/Baystation12 2012-05-27 12:50:23 -06:00
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
Albert Iordache
ac86921745 Minor optimizations of update_clothing, removal of the ONESIZEFITSALL flag 2012-05-27 14:21:33 +03:00
Albert Iordache
eaab0d5f84 Added a var to a obj/effect/decal/cleanable/crayon storing the client who drew it 2012-05-27 09:01:38 +03:00
Albert Iordache
922a7cc509 Fixed an ATM bug 2012-05-27 08:42:35 +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
Aryn
56a2c1d77a Added comments and updated the changelog. 2012-05-26 22:01:28 -06:00
Erthilo
c7a910942c Fixes food not disappearing from hands when finished. 2012-05-27 00:01:17 +01:00
Erthilo
8deaf5fd7e Fixes PDA light not turning off when exploded by a detomax. 2012-05-26 23:59:31 +01:00
Erthilo
2f303de9b5 New portalathe sprite, thanks to dezzmont and Furlucis. 2012-05-26 23:58:13 +01:00
Erthilo
dea3a519cc Traitor objective picking error fix, thanks to @thvortex.
Original Message:

Hopefully fixes #58 Traitor objective errors
I think the issue is in /datum/objective/steal/reagent not having a
"weight = " like any of the other steal objectives.

GenerateTheft() will use the "weight" var and not the "get_weight" proc
when building its list, but the default weight defined in /datum/objective
is INFINITY. PickObjectiveFromList() will then call pickweight() which
does a sum of all weights stored in the list followed by <= comparisons of
the total. Perhaps the total integer var wraps around into negative
values.

I have no idea if INFINITY is actually MAXINT, or either of the positive
or negative floating point infinities.
2012-05-26 21:54:20 +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
Albert Iordache
2f001078b1 Merge pull request #1162 from CIB/master
Added crew transfer shuttle to the restart vote, disease fix
2012-05-25 22:46:39 -07:00
Erthilo
a02a12f88f Added Flashkirby's RIG and cow sprites. Removed and added some new AI Ion laws, credit: Ispil. 2012-05-26 01:36:45 +01:00
Erthilo
247869324a TG: -Moved signs and status displays off of windows and onto walls
-Moved cameras out of maintenance shafts
-Clarified ambiguous defined area names
-New defined areas (and APCs) for sleeper room & engineering break room to take
a load off atmos and medbay
Revision: r3657
Author: 	 ericgfw...@hotmail.com
2012-05-26 00:18:08 +01:00
Erthilo
9ff6937e21 TG: Fixed being able to pull hud objects out of the hud through morgue trays
how many times are we going to have to fix this mousedrop proc for morgue trays?
is it even that important to have?
Revision: r3656
Author: 	 quartz235
2012-05-26 00:13:32 +01:00
Erthilo
5d78efcfeb TG: Removed the 'microphone' button from headsets. They are now fully 'press to
talk'.
Revision: r3655
Author: 	 johnsonmt88
2012-05-26 00:13:17 +01: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
ca62d85b83 TG: - Crew monitoring computer pup-up screen is wider.
Revision: r3651
Author: 	 baloh.matevz
2012-05-25 22:47:34 +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
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