Commit Graph

2965 Commits

Author SHA1 Message Date
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
1671021a8d Merge pull request #1172 from Erthilo/master
Bug fixes and new portalathe sprite
2012-05-26 22:04:43 -07:00
Erthilo
8deaf5fd7e Fixes PDA light not turning off when exploded by a detomax. 2012-05-26 23:59:31 +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
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
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
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
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
568f951918 Merge github.com:Baystation12/Baystation12 2012-05-25 17:59:09 +02:00
Jim "Apples"
c181d9369b Merge pull request #1165 from AppleMaster/master
New Barsigns, Yay!
2012-05-25 08:52:11 -07:00
Apple_Master
65f0b07b05 Added some new barsigns, will soon be adding a method to choose which one you have, but only once per round.
Signed-off-by: Apple_Master <cheeckan@gmail.com>
2012-05-25 13:52:53 +01: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
cib
2c58ab416e Added Crew Transfer Shuttle to the restart vote. 2012-05-24 23:00:47 +02:00
Thrain
c1ca3d58de Added a "Initiate Crew Transfer" option to the Communications computers.
This will call the shuttle, which will start the round reboot. shuttle
starts with a 90 minute refuel timeq.
2012-05-24 02:09:34 -07:00
Uristqwerty
fb51e184f2 Yep, thee was a bug. 2012-05-24 02:29:54 -04:00
Uristqwerty
01b038ff27 Introducing Uristrunes!
Built crom components, each cult word gets it's own unique appearance,
that it adds to the final rune. Correct combinations will glow ever so
slightly, the others remain a single colour.

The system behind them is a bit more powerful, supporting a full 1023
combinations, although far fewer can be reached in-game (as the system
doesn't care about word order, and you can't use enough words to have
more than three of the components as part of any rune).


With this commit, it compiles, but I haven't quite tested anything
in-game, so there might be a followup bugfix. Or there may not.
2012-05-24 01:34:35 -04:00
SkyMarshal
a9c76bb495 Merge pull request #1152 from Erthilo/master
TG Updates + HUD Updates + Alien Whitelisting
2012-05-23 16:21:41 -07: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
cib
8f093dea2f Fix issue #1001 Epidemic doesn't end properly 2012-05-24 00:08:22 +02: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
1b9b1fb4b7 Compile error. 2012-05-23 23:26:56 +02:00
cib
2f32046bbf Fixed a problem with meme gamemode setup. 2012-05-23 22:24:18 +02:00
Erthilo
e7e6442c9e TG: Added Atmos glass doors.
Revision: r3642
Author: 	 ericgfw...@hotmail.com
2012-05-23 18:05:59 +01:00
Erthilo
075e8730bc TG: RIG helmets can now be used as flashlights, just like hardhats. Credit to Sly
for the sprites.
Revision: r3638
Author: 	 ericgfw...@hotmail.com
2012-05-23 17:47:25 +01:00
Erthilo
361e479ed5 Fixes robolimbs surgery. 2012-05-23 17:38:44 +01: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
cib
615871b0ce Merge github.com:Baystation12/Baystation12
Conflicts:
	html/changelog.html
2012-05-22 14:50:00 +02:00
cib
56b178f396 Implemented #1107. 2012-05-22 11:24:42 +02:00
Erthilo
b7b33fc91a /obj/item/weapon/spacecash change to /obj/item/weapon/money
Can now split and stack money properly.

Fixes genetics/research access door and also money path changes.
2012-05-21 23:56:48 +01:00
Erthilo
3f50c37609 Fixes Odysseus buckled mob bug. 2012-05-21 23:50:27 +01:00
Erthilo
c9bfde5d7a Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
Conflicts:
	html/changelog.html
2012-05-21 21:13:32 +01:00
Erthilo
dd5ed6a1cd Adds a sounds for implant removal, and better messages for the rag. 2012-05-21 21:02:01 +01:00
Erthilo
4114e246ee Merge fixes, and spelling corrections. 2012-05-21 20:47:55 +01:00
Erthilo
03dc270006 TG: Fix for dragging HUD elements into lockers.
Revision: r3635
Author: 	 petethegoat
2012-05-21 20:42:15 +01:00
Erthilo
552fe3040e TG: - Fixed the bug where a belt which spawned on you would not display it's
contents until dropped.
Revision: r3634
Author: 	 baloh.matevz
2012-05-21 20:40:55 +01:00
Erthilo
7fd99c7d3a TG: -Bunch of new/updated locker sprites. Most noticeable in mining and engineering
-New wardrobe closets for several departments
Revision: r3633
Author: 	 ericgfw...@hotmail.com
2012-05-21 20:40:08 +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
7894a7e0ef TG: - PDA messaging reworked a bit. If you receive a message with your PDA somewhere
on your person (so not in a backpack), the message will be displayed to you in
the text box along with the name and rank of the sender. A reply button will be
next to this to make replying easier. The PDA beep will still appear and the PDA
must not be in silent mode for this to work.

Screenshot:
http://www.kamletos.si/PDA%20communication%203.PNG

Added this to the changelog.

Revision: r3628
Author: 	 baloh.matevz

-Added confirmation prompt when calling the shuttle as an AI
-Glass airlocks no longer super-silent

Revision: r3629
Author: 	 ericgfw...@hotmail.com
2012-05-21 17:20:23 +01:00
Erthilo
286599fb73 TG: -Minor update to job list (used in HoP computer)
Revision: r3626
Author: 	 ericgfw...@hotmail.com
2012-05-21 17:00:47 +01:00
Erthilo
4bda83ec51 Implant removal surgery. Scalpel > Hemostat > Restractor > Hemostat (Multiple times may be needed). For now syndicate implants simply disintegrate. Other implants can be put back into an implanter.
Also allows rag to hold 5 reagents, smother people with it, and also stops it causing attack messages.
2012-05-21 15:13:15 +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