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.
-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
- 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
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
- 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
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.
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
- 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.
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
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