- Laser cannons / Heavy laser cannons should now not be all mixed up.
- Fixed a bug where the station heads and security crew could be revolutionaries and cultists on game start.
- If you somehow drop the "Off Hand" that appears if you equip a fire axe, it will be deleted. No more silly "Off Hand" items lying around the station, yay!
- If you threw a fire axe when it was wielded, it would would stay wieled.
- Metroids should now, theoretically, not be able to phase through thin windows and glass doors. There's probably still going to be some Metroids phasing through thin glass doors if the right circumstances are met (BYOND pathfinding problem, will eventually migrate Metroid pathfinding to SS13's A* system.
- Fixed up some of Firecage's half-assed sprites. The decloner projectile in specific.
Misc:
- Portable turrets can now be equipped with EVERY (except the "plasma gun" because it's stupid anyway) energy gun possible. I want to see laser cannons turrets, emagged energy crossbow turrets, and shock revolver turrets, people!
- The decloner is no longer called "decloner" because that term really doesn't make any sense anyway. Does it imply that everyone in existence is actually a clone? While that does sound kind of cool, it's actually pretty stupid, so I changed the name but kept the path type "/obj/item/weapon/gun/energy/decloner".
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1936 316c924e-a436-60f5-8080-3fe189b3f50e
- You can now set the dir and name variables for newly spawned objects, turfs or mobs in the game-panel menu.
- Dirs are:
- 1: north
- 2: south
- 4: east
- 8: west
For the rest:
- northeast = north + east = 1 + 4 = 5
legal values: 1, 2, 4, 8, 5, 6, 9, 10
Leave the name space blank to keep the default name.
If you assign a custom name for a mob, it will also be set as the real_name, meaning it will stick.
Coder note:
Names and dirs are both assigned after initialization, so they're not respected during New()
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1933 316c924e-a436-60f5-8080-3fe189b3f50e
auto_use_power only shows up in the master_controller
following code:
***************
for(var/obj/machinery/machine in machines)
if(machine)
machine.process()
if(machine && machine.use_power)
machine.auto_use_power()
***************
on the second line it checks if machine exists. If it doesn't exit it would go to the next machine.
So it is not null at this point.
then it calls machine.process()...
on the fourth line it cehcks again if the machine exists.
Then it calls machine.auto_use_power()
So at this point the machine has been checked twice for existence.
Now moving into aut_use_power() proc
*********************
/obj/machinery/proc/auto_use_power()
if(!powered(power_channel))
return 0
if(src.use_power == 1)
use_power(idle_power_usage,power_channel)
else if(src.use_power >= 2)
use_power(active_power_usage,power_channel)
return 1
*********************
This calls powered() on the second line.
now stepping into powered() proc
**************************
/obj/machinery/proc/powered(var/chan = EQUIP)
var/area/A = src.loc.loc // make sure it's in an area
if(!A || !isarea(A))
return 0 // if not, then not powered
return A.master.powered(chan) // return power status of the area
**************************
the second line "var/area/A = src.loc.loc" line 26 in power.dm is what caused the problem.
It is asking for the location.
src.loc appears to be null. The reason why this call keeps happening and doesn't stop is because the object itself exists but its location does not.
So my final analysis is that src.loc == null and calling loc on src.loc gives us a runtime error since src.loc.loc == null.loc and null cannot call loc.
runtime error: Cannot read null.loc
proc name: powered (/obj/machinery/proc/powered)
source file: power.dm,26
usr: null
src: Emitter (/obj/machinery/emitter)
call stack:
Emitter (/obj/machinery/emitter): powered(1)
Emitter (/obj/machinery/emitter): auto use power()
/datum/controller/game_control... (/datum/controller/game_controller): process()
/datum/controller/game_control... (/datum/controller/game_controller): process()
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1932 316c924e-a436-60f5-8080-3fe189b3f50e
Admin changes:
Admin attack logs now have a timestamps. Basically, before each log entry there is something that displays [hour:minute:second]. I plan on expanding this functionality to all kinds of logs, as well as creating a global attack log, but this will do for now.
Gloves:
You can still electrify any gloves with a power cell, however you have to use wires on non-insulated (yellow) gloves to create a "ghetto-insulation" system. I might make these gloves' stun effects more watered-down than normal insulated gloves, but that will probably be for later on.
Bugfixes:
Fixed some miscellaneous runtime errors, and more importantly, the shotgun. You can dry-pump it by clicking on it, which will eject any used shots or just make that badass "chuck-chick" sound to let everyone know you mean business. Combat shotguns can now shoot twice without the need to pump.
I also possibly fixed the issue with metroids' AI process locking up. Someone's going to have to PM me on the forums to tell me if this worked or not, because I have not been able to reproduce the bug (although I do know where it's happening in the code).
Chemistry:
Alright, so this is where the meat of this update is. In a previous revision (r1905) I mentioned the addition of a new "color" variable. This variable now has a use. When you use a spray cleaner, or a chem sprayer which now is significantly more powerful, the color combination of all the reagents inside the sprayer will be displayed instead of the plain old blue-white color. This will allow for people to easily distinguish reagents and colors, for instance, if you see some chemist running around spraying orange or purple stuff chances are that's acid he's spraying, so you should probably subdue him!
In addition, you will now be able to see beakers (large ones too) fill up visually. The color of the reagents inside the beaker is overlayed on top of the beaker. The colors may be subject to change to make them brighter or more easily identifiable by "category". Currently, most pharmaceuticals have a light pinkish color. Polytrinic acid has a distinct purple color, etc. However, with due time I can picture chemists mixing other, benign-ish reagents with harmful reagents so passerbys think that a chemist is spraying someone with something harmless, but in reality is spraying them with a bunch of PAcid. There are some consequences, for instance, concentrated acid is more powerful than watered-down acid.
Have fun with that.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1922 316c924e-a436-60f5-8080-3fe189b3f50e
Added in a new mech for the syndicate deathsquads, it's called the Mauler.
Added in syndicate deathsquad uniforms to the admin equip verb.
Added in the syndicate access level for the syndicate mothership.
Added the syndicate mothership, the nuke team shuttle now spawns inside it, however they cannot get into the mothership. At all. Once I get syndicate deathsquads working they will spawn on the mothership.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1916 316c924e-a436-60f5-8080-3fe189b3f50e
This method takes an input of a powernet and merges it with the powernet that called merge_powernets
This is the first step in my updated cable logic. The code should look cleaner as a result.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1913 316c924e-a436-60f5-8080-3fe189b3f50e
Chemistry:
I added a new variable to each reagent called "color". It's a hexadecimal string used to give a reagent a unique color for use in future shenanigans that are in development atm. Updooted the Chemistry-Readme.dm file to include some other variables I included into the recipie system as well as this new color variable. Implementing these colors is still an ongoing effort, and yes you will be able to "blend" these colors.
Viruses:
Nothing has been CHANGED (yet) but there is some framework for a new virus system to work alongside our current one, special thanks to Googolplexed of Baystation 12! If this weren't tied to some other things I changed, I wouldn't be committing this in the first place. While experimental, you shouldn't even notice this exists.
!!BUGFIXES!!:
Wow, there's so many I'm having a hard time keeping track of it all!
A bunch of runtime errors were hopefully fixed. There were some problems with slicing stuff spitting out runtime errors because an istype() was missing. The same goes for ritual tomes and some other things. Medical cyborgs were also fixed: their pills will now recharge properly and stop spitting out atrocious runtime errors.
It was intended for it to be possible to shoot people on top of Mulebots, but a runtime error always cut the proc off before it could execute. This has been fixed.
There are probably some other things I'm missing, but all in all, that's about it for the bugfixes.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1905 316c924e-a436-60f5-8080-3fe189b3f50e
- Solars now bring out a fixed value. 700W each, meaning 60 of them (one array) generates 42000W. Not enough to power the station? That's the point. Although 4 x 42000W = 168000. This might be nerfed soon.
- Sun removed. Seriously, that thing ate up processor time and was completely useless.
- Solar tracker remains on the map but is completely useless. Will remove.
- Also reverted the cable updates from r1729. The code from prior to that revision might be as laggy as it was, but it works properly. After the revision powernets didn't calculate available power properly and did not update properly when new pieces were made (They stopped updating at the first wire piece which ended in a knot (non-smooth cable piece))
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1897 316c924e-a436-60f5-8080-3fe189b3f50e
- Environmental heat damage increased by a factor of 1.5 (meaning space and fires cause 50% more damage)
- Being without oxygen causes from 0 to 12 damage instead of 0 to 7, depending on how much oxygen is in the atmosphere. Means that if the room's just began to leak there will be no change in the oxygen damage you take compared to the damage prior to this update, but space does 12 damage per tick instead of 7.
- Fire suit now protects up to a temperature of 10000 degrees, which is the temperature at which floors start to melt. A toxin + oxy fire usually generates temperatures around 8000-9000 degrees. It used to protect up to 4500 degrees.
- Added a standard spacesuit loadout to the admin select equipment menu (LJ's request)
I've tested all the changed numbers a lot and they seem to work well. Space and fires are a lot more deadly, while normal circumstances remain at the same level as they are now.
I've also researched the bug which allowed you to spend infinity on tiles in space. The problem is that turfs don't process temperature properly, but even after spending 4 hours looking into it (I wish I was joking), I wasn't able to determine where this gets updated on the lowest of levels.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1896 316c924e-a436-60f5-8080-3fe189b3f50e
Guns:
The projectile code has been mostly reworked to provide better support for effects, dynamic damage, etc. This also makes adding new projectiles easier for other coders. This is a pretty big change! If you see any bugs, get on IRC and bug me about it before the change goes live on the server!
Miscellaneous:
I fixed some bugs with Metroids hopefully. Turrets now don't identify people laying down as a threat.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1884 316c924e-a436-60f5-8080-3fe189b3f50e
A few new foods are added, namely the following. Brain Burger, Chocolate Egg, Mystery Soup, Sausage and Fish Fingers.
Service/butler cyborg has a new sprite to pick from, the Maximillion one.
Chaplain now has a Flash of Holy Water in his office using the new holy water reagent.
Chef also now has an alternative apron he can find in the kitchen vending machine.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1882 316c924e-a436-60f5-8080-3fe189b3f50e
Music buttons and song files removed.
Consequently, bananaphone kitchen recipe removed.
This saves over 10MB from the resource download, making it go faster for everyone and reducing lag.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1881 316c924e-a436-60f5-8080-3fe189b3f50e
- added roller bed (for medics). Place human, buckle him to this bed, the bed raises and can be pulled.
- eggs and tomatoes can be smashed of wall, floor [s]or captain's face[/s] not yes.
Code by Balagi, sprites by Farart.
-some fixes for the crew monitoring computer. It can be disassembled now.
-added crew monitoring circuit board. Requires programming 3, biotech 2, magnets 2.
-Mech Bay Power Control Console и Solar Control can be disassembled now.
-added crew Mech Bay Power Control Console circuit. Requirements are programming=2, powerstorage=3.
-Solar Control circuit boardcan be researched. Requirements are programming=2, powerstorage=2.
-R&D Console can be researched and created (requires programming 6). But R&D Console cannot be deconstructed for tech points. That's intended.
Code by Jack Rost.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1880 316c924e-a436-60f5-8080-3fe189b3f50e
Backporting from ss13.ru:
- added trash: foor eaten food leaves empty картонный boxes and plates, husks. Janitors are doomed.
- new sprite for Soylent Viridians
- randomized pill sprite offset (as for fruits, tiles, papers).
- now chemmaster first assign label to pill, then dispence it.
- added sprite for trash bag. Wil be added to code soon.
Code by Jack Rost, sprites by Farart.
- added candle. Code by Balagi, sprites by Farart.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1879 316c924e-a436-60f5-8080-3fe189b3f50e
AI can also choose a new sprite for itself, the Yes-man one.
Bodybags are now also added and 3 can be found in medbay. They are not entirely finished yet, but they will serve their purpose.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1874 316c924e-a436-60f5-8080-3fe189b3f50e
--------------------------------------------
Pete
Changelog:
Appendicitis!
It's a new disease which must be cured surgically- instructions are available on the wiki:
http://tgstation13.pretentiousfool.com/wiki/index.php/Surgery
Tell Petethegoat either on the forums or on IRC if you find any problems.
------------------------------------------------
Trubble has fixed a bug with the hat crates. They can now be correctly opened.
-----------------------------------------------
Derp has added the Medborg. YES!!!
Service borg has also recieved some minor tweaks. It can now use the Booze-o-mat. it can also extrude enzymes.
------------------------------------------------
Report any problems to them via Forums or IRC. Thankyou.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1866 316c924e-a436-60f5-8080-3fe189b3f50e
The barman can now make a drink called Silencer, which uses Nothing, Cream and Sugar. This can only make mimes drunk.
Chef has a few new recipes. Blood soup, Clowns tears, twobread, Metroid Sandwich, Metroid Burger, Chocolate Cake, Lime Cake, Orange Cake, Lemon cake, Boiled Metroid Core and Spess Law.
Captain has a new item in his office named Chain of Command.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1863 316c924e-a436-60f5-8080-3fe189b3f50e
Three new weapons added to R&D(the protolathe). The Chem Sprayer, the Shock Gun and the Stun Revolver.
A new costume is added to the theatre, the female clown suit and mask.
Thanks for the weapon sprites goes to Khodoque.
Thanks for the female clown suit sprite goes to Cheridan.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1855 316c924e-a436-60f5-8080-3fe189b3f50e
Also....Superxpdude. Check your paths next time for guns. Since you put M1911 with a capital M, but put it with a lowcase m in the pathname. Thus it would not compile.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1849 316c924e-a436-60f5-8080-3fe189b3f50e
Grape: Yes, you can now grow grapes.
Green Grapes: This is a mutation of grapes containing a certain healing chemical.
Cabbage: I also added cabbage for you kiddies to rgwo big and strong.
Pumpkins: WE GOT PUMPKINS!!!
Killer Tomatoes: These are dangerous..beware(Mutation of Tomato)
There are two new pieces of clothing added which only an admin can spawn.
Morgan's tears got renamed to Ambrosia Vulgaris.
Admins can now spawn Roaches. This is Nanotrasen afterall.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1848 316c924e-a436-60f5-8080-3fe189b3f50e
Special Operations Officer's equipment added to the admin equip list.
All 3 wizard outfits added to the admin equip list.
Some changes to creed's office on centcom.
Added in a special jumpsuit (currently adminspawned only).
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1847 316c924e-a436-60f5-8080-3fe189b3f50e
Lasers and pulse shots are now significantly more penetrating. Previously, even lowly assistant suits would halve the damage of pulse rifles. Not anymore!
Turrets:
Portable turrets and AI turrets are now able to shoot people even if they're on the ground. However, taser shots will still fly over people.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1844 316c924e-a436-60f5-8080-3fe189b3f50e
I added two new types of berry mutations. One is death berry, which is actually a mutation of the poison berry. It is EXTREMELY deadly if ingested. Another is the glow berry. Its brightness depends on its potency.
Last, but not least. We have a plant which is both a hydro and harvestable plant, but at the same time a livestock. It is the Walking Mushroom. It is a mutation of the plump helmet. After it is harvested and in your hand, click it to bring from the Walking Mushroom. If it dies, then use a knife on it for Huge Mushroom Slices.
Next commit will have more recipes for both chef and barman.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1843 316c924e-a436-60f5-8080-3fe189b3f50e
- THE HULK CAN BREAK THESSSEE... CUFFSS... NAAAAAAUURRRRRRRRRGHHHHHHHHHHHHHHHH!!!!!!
- Tables are no longer effected by magnitis. Because it's damn stupid.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1840 316c924e-a436-60f5-8080-3fe189b3f50e
Sugary plants, blend them for sugars.
Foods Sugar packets are removed, coco paste removed (it is now a reagent), and crushed leaves are removed (due to not taking advantage of the potency system).
Blend Coco Pods for Coco! Then add sugar and milk (or soymilk) for a chocolate bar! Or add water for hot chocolate (chocolate milk TBA). Crushed chocolate renamed crushed coco (is a reagent).
Kitchen closet has a condiment bottle of sugar in it now, rather than a billion packets of sugar.
Candies apples use 5 units of sugar now, rather than a pack of sugar.
Modified some new hydroponics plants to take advantage of the potency system.
Had a go with a few drink bottles in party crates that weren't showing up due to a typo!
Feed Nuka Cola to humans or animals and they won't just spaz out, they will spaz out so much not even the cold can slow them down.
Deleted some redundant reagents (there were two lime juices, two creams, and I forget what else). Rearranged a few reagents. Capisin and frost oil never added nutriment factor to start with, and they really shouldn't. That's pretty much it.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1839 316c924e-a436-60f5-8080-3fe189b3f50e
Hydro can now grow cocoa trees and harvest cocoa pods.
The chef can process the cocoa pods into cocoa and process that into chocolate bars. He can also put the chocolate bars into the blender to get crushed chocolate, which the barman can use.
Lemon, watermelon, poison berry juice and crushed chocolate is added to the reagents list.
Barman can now also serve a chocolate drink. He can also now serve Lemon, Watermelon and Poison berry juice as drinks.
Poison Berry was made a mutation of berries.
Nurse uniform was now also fully fixed.
PS. Poison berry was added to the juicer machine as well.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1833 316c924e-a436-60f5-8080-3fe189b3f50e
Gave Apple stuff for hydro a new sprite and also Watermelon. (sprites by Farart)
Made watermelon able to be cut with a knife, and now we can also cut produce from hydro, (though for now it is only Watermelon).
Added captains gloves to the game and added them to his locker.(By Evilgrim)
Added three new food recipies for the chef. Candied Apples, Apple Cake and Apple Pie.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1814 316c924e-a436-60f5-8080-3fe189b3f50e