Commit Graph

2548 Commits

Author SHA1 Message Date
carnie
d2988fcf8a Hair and facial hair styles are now randomized when changing gender in preferences setup. Thanks Pete
Added some very basic tools for modifying/printing savefiles as plaintext (for testing).
2013-04-01 00:42:01 +01:00
carnie
b910baef2a Restricted h_style f_style and underwear preference selection by gender to avoid conflicts with sanity checks. 2013-03-29 04:37:26 +00:00
carnie
732d72e227 Merge branch 'master' of github.com:tgstation/-tg-station into pr/151
Conflicts:
	code/modules/mob/new_player/new_player.dm
2013-03-28 18:35:37 +00:00
Giacomand
8318743b04 Merge pull request #169 from Petethegoat/appearanceban
Adds name/appearance bans. They're based on jobban code, but prevent the...
2013-03-28 11:01:07 -07:00
Giacomand
c9dc653e88 Merge pull request #157 from Aranclanos/Second
Fixes reactive armor issues with buckled users
2013-03-28 10:32:05 -07:00
Giacomand
720a2a3b12 Merge pull request #153 from Petethegoat/forcesayfixes
Fixes forcesay working on dead people, and on asay/dsay.
2013-03-28 10:31:16 -07:00
Giacomand
b7205f2555 Merge pull request #150 from Sieve/DesignHasReqs
Efficiency Improvement to DesignHasReqs()
2013-03-28 10:30:45 -07:00
Giacomand
ef45f3e1d9 Merge pull request #92 from Petethegoat/DB_cleanup
Database & config cleanup
2013-03-28 10:13:06 -07:00
Pete Goodfellow
18656b2bd7 Merge pull request #161 from aranclanos/First
Fixed issues related to shotguns (& revolvers) and their shells.
2013-03-28 09:41:23 -07:00
Giacomand
1673f79e0b Merge pull request #165 from aranclanos/Fifth
Slime extracts fingerprint fixes
2013-03-28 09:33:48 -07:00
Giacomand
29f7d07279 Merge pull request #168 from Petethegoat/monkeydeath
Fixes Pun Pun dying as 'The Pun Pun'.
2013-03-28 09:30:01 -07:00
Pete Goodfellow
b39094fba1 Fixed manual appearance bans accepting a duration. Tidied up and improved a SQL query. 2013-03-28 16:26:44 +00:00
Pete Goodfellow
b28bff4440 Forgot the key .dm. Adding banappearance.dm 2013-03-28 16:04:10 +00:00
Pete Goodfellow
fe3cc313f6 Adds name/appearance bans. They're based on jobban code, but prevent the banned player from using their preset names and appearances.
Also corrects a spelling error (Indentity) in the char prefs panel.
2013-03-28 15:51:35 +00:00
Aranclanos
b8caf8768e I didn't even knew that you could add the empty shells to other guns, oh well.
Same fix for the rest of the projectile guns, now they won't "fire" invisible bullets.
2013-03-28 11:17:41 -03:00
Pete Goodfellow
078e119f33 Fixes Pun Pun dying as 'The Pun Pun'. 2013-03-28 13:06:53 +00:00
Aranclanos
3b4de0f276 Slimes will now save fingerprints, they had the flag FPRINT missing.
Injecting chemicals to a beaker, slime extract, etc. will now save your fingerprints on the target.
2013-03-28 08:30:58 -03:00
carnie
27bae76403 Accidentally remove a dna initialize call. 2013-03-28 11:21:14 +00:00
carnie
5ca166cae0 Refactored underwear to use datum/sprite_accessory/underwear similar to hair and facial_hair.
People may select any underwear (regardless of gender) at a dresser, but not in preferences.
random_underwear(gender) will return a random pair of underwear suitable for your gender.
Removed an unused variable in sprite_accessory

The new_player preferences screen now randomizes character slots for which there is no data (so no more bald, fat, white guys in diapers greeting new players)
datum/preferences character settings are randomised at New().
replaced /datum/preferences/proc/randomize_appearance_for(human/H) with /datum/preferences/proc/random_character(), it does the same stuff without the copying to a mob. Basically, now when you want to make a random character you just do var/datum/preferences/A = new(); A.copy_to(human_mob), randomisation of appearance and name will already be done. Easy.

Reworked the savefile updating/versioning code to make it easier to work with. I've used it to update underwear preferences to the new system as an example.

Signed-off-by: carnie <elly1989@rocketmail.com>
2013-03-28 11:11:40 +00:00
Pete Goodfellow
fb45167174 Standardises lib_items.dm, including names and text styling. 2013-03-28 10:54:23 +00:00
Aranclanos
56ecfe8ed9 Fixed issues related to shotguns and their shells.
-The description "A weak beanbag shell. This one is spent. This one is spent. This one is spent. This one is spent." made by double barreled shotguns is gone, now the message is only added when the shotgun actually fires and uses the shell
-All other kind of shotguns will now add the "This one is spent." message.
-Shotguns will stop firing invisible bullets, making them less confusing.

Changed the "You break the double barreled shotgun" message to "You open the double barreled shotgun" because it was confusing, the playes (myself included) thought that they actually ruined the pretty gun.
2013-03-28 06:16:53 -03:00
Aranclanos
37100ddd28 The reactive armor will now unbuckle the person if this was buckled, just like on the wizard spells. 2013-03-27 20:29:08 -03:00
Pete Goodfellow
2c9283dd05 Merge pull request #154 from aranclanos/Second
Surgery bugfix without other commits.
2013-03-27 12:52:36 -07:00
Pete Goodfellow
1260c80d6b Merge pull request #87 from Giacomand/Solar_Branch
Fixes the solar control computer so it's overlay works in auto mode.
2013-03-27 12:18:58 -07:00
Pete Goodfellow
3a5166fbf7 Fixes forcesay working on dead people, and on asay/dsay. 2013-03-27 17:47:01 +00:00
Pete Goodfellow
4c324fbc5c Updating the db table names as per erro's comment. 2013-03-27 17:15:03 +00:00
Pete Goodfellow
3187fd1e14 Merge branch 'master' of github.com:tgstation/-tg-station into DB_cleanup 2013-03-27 17:10:54 +00:00
Cheridan
10bd174a03 Underwear update! Adds two new undie styles, a modest tankini for ladies and red briefs for the guys.
Adjusts a couple hardcoded lines to make adding more undies in the future easier.
Adds dressers! Similar to mirrors, they let you change your underpants.
2013-03-27 00:08:45 -05:00
Sieve
29067b0139 Final Version of DesignHasReqs
Massive optimization on the DesignHasReqs() proc, cuts it down to the
bare minimum while still retaining its function. Testing using the
profile showed a 92% reduction in SelfCPU at 151000 calls.
2013-03-26 13:20:33 -05:00
Uristqwerty
bf4b58cc7d Fixed infinite loop in powernet rebuild.
If a machine was not anchored, it would spin forever, doing nothing.
Fixed on baystation a while ago.
2013-03-25 16:28:04 -04:00
Sieve
d19bf16351 Trying to fix Git goddamn 2013-03-25 14:13:22 -05:00
Pete Goodfellow
a389835a30 Abstract items no longer show up on examine. 2013-03-24 23:43:58 +00:00
Pete Goodfellow
dffba3c827 Apologies in advanced for cramming this all into one commit, but it's all fairly interdependent.
Removes the old tgstation database. It has been merged into the newer feedback database.
All mentions of the old database have been replaced with the new one.
This includes updating tgstation_schema.sql and dbconfig.txt.

Removes README feedback.txt as it is now covered by the new schema.

Removes the unused forum DB stuff, including forumdbconfig.txt.
Updates the config, including both config.txt and game_options.txt. Many options have been moved into the latter.
Updates configuration.dm to reflect these changes.

Removes the config var/feature_object_spell_system as it did nothing.
2013-03-24 18:34:00 +00:00
Aranclanos
327d3db770 Fixes items calling their afterattack() proc when they are used on surgeries, for example, inserting a syringe inside of a person and then starting to inject the contents of the syringe on said person.
afak, surgeries can't be handled on the afterattack() of the different surgery tools because of cavity implants, so this is a semi-decent fix that can be used for future features too. But I do not like touching this code. I appreciate any feedback about this.
2013-03-24 08:53:29 -03:00
Cael Aislinn
4c240f718e Merge pull request #76 from Cheridan/master
Glowshroom Reworking
2013-03-22 19:04:04 -07:00
Cael Aislinn
ff1f98023a Merge pull request #47 from Giacomand/NTSL_Fix
NTSL Commit Times. [Immersion] [Realism]
2013-03-22 19:02:54 -07:00
Cael Aislinn
472af68510 Merge pull request #74 from rastaf0/improvement-debug-tools
Improvements to debug verbs del-all and spawn.
2013-03-22 19:02:39 -07:00
Giacomand
e83432c07d * Fixes the solar control computer so it's overlay works in auto mode. 2013-03-23 00:13:19 +00:00
Carnie
986b06bb10 Merge pull request #59 from Nodrak/master
Airlock Painters
2013-03-19 21:37:33 -07:00
Giacomand
005ea828ac Merge pull request #56 from aranclanos/master
Fixes for screen HUD object icons.
2013-03-19 16:06:15 -07:00
carnie
c5b4fe9610 Merging Cheridan's chemistry reagents tidy-up and bottle-emptying confirmation. 2013-03-19 06:30:41 +00:00
carnie
2819651811 Very minor optimization to MrPerson's changes.
Replaced some ifs with a switch statement.
Replaced an uneeded loop through a list (list.Remove() does this anyway)

Signed-off-by: carnie <elly1989@rocketmail.com>
2013-03-18 03:15:31 +00:00
carnie
809539603b Merge branch 'master' of git://github.com/MrPerson/-tg-station into Testing 2013-03-18 02:20:15 +00:00
carnie
0ca3088074 Merge branch 'master' of git://github.com/Giacomand/-tg-station into Testing 2013-03-18 01:13:52 +00:00
Cheridan
9c8505bd44 -Recodes glowshrooms.
Fixes the bug with effects/glowshroom not glowing when placed.
They don't spread infinitely: The odds of a shroom spreading decreases with each generation. Because they're sane now and not virally-spreading fungal horrors, they've been changed to spread on normal station floors and not just the asteroid.
The spreading glowshrooms acquire the parent's stats, with some mutations.
The delay variable is now based off of production, and goes DOWN with better stats instead of GOING UP.

-Removes unnecessary (copy-pasted) code bits in walking mushroom/killer tomato code in grown.dm
2013-03-17 19:24:51 -05:00
MrPerson
8448fc0104 Remove that annoying ass "is_special_character used on an unknown silicon" debug message. 2013-03-17 16:34:49 -07:00
Rastaf.zero
b8a0032f61 Improvements to debug verbs del-all and spawn.
Long paths are shortened, del-all got filter like spawn had.
Long lists of paths are cached.
2013-03-17 17:49:35 +04:00
Cheridan
4dec216887 -Adds a confirmation message to the Empty Spray Bottle verb.
-Reorganizes all the copy-pasted reagents in Chemistry-Reagents.dm. Cuts out about a THOUSAND lines.
-Sleep toxin is made more subtle. No blurry screen, but you might yawn some. Chloral no longer has an instant KO effect, but your vision will become blurry and you'll be unable to run once injected. It is metabolized faster as well.
2013-03-16 19:40:44 -05:00
Aranclanos
eeb0e1dbe3 Same change here, but with monkeys. 2013-03-15 06:39:46 -03:00
Aranclanos
dcfa1fcfab Fixed items not appearing on the HUD if they are given to a mob by another player with the strip panel.
This should also swap under the carpet (kinda ugh because the problem is still there and it might affect some other things) the problems with the roundstart problems with player's icons on high populated servers.

This should be the first step to reduce the amount of calls on the different icon update procs, but for the moment I'm focusing on more CPU expensive procs.
2013-03-15 06:08:48 -03:00