Commit Graph

4802 Commits

Author SHA1 Message Date
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
cib
20b0656c35 Moved the vomit() and the drip() proc to /mob/living/carbon 2012-05-25 18:57:53 +02: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
c9ea8a4c3d Fix for duplicate health analysers in the NanoMed dispensers, and changelog. Also changes old hud storage boxes to solid. 2012-05-25 04:09:17 +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
Erthilo
1c8b1b7c72 Fixes pill bottle pickup by removing a rogue attackby proc. 2012-05-24 23:12:04 +01:00
cib
0616ccd7ed Robot limbs now can't be broken by disease. 2012-05-24 23:49:52 +02:00
cib
b6c1c0e214 Temp. 2012-05-24 23:49:45 +02:00
cib
2c58ab416e Added Crew Transfer Shuttle to the restart vote. 2012-05-24 23:00:47 +02: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
CIB
53cabd56f0 Merge pull request #1157 from Thrain856/master
Crew Transfer
2012-05-24 04:38:58 -07: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
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
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
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
Erthilo
e7e6442c9e TG: Added Atmos glass doors.
Revision: r3642
Author: 	 ericgfw...@hotmail.com
2012-05-23 18:05:59 +01:00
Erthilo
be82872b5c TG: -Reverted default UI sprites to Erro's old-style. Retina-scalding Orange and new
Midnight UI scheme are now found in screen1_Orange.dmi and screen1_Midnight.dmi,
respectively.
-Driest Martinis will no longer be invisible.
-Braincakes are now able to be cut into slices.
Revision: r3641
Author: 	 d_h2...@yahoo.com
2012-05-23 18:02:00 +01:00