mob
Login()
src.loc = locate(1,1,1)
mob
mouse_opacity = 2
turf
var/Infected = 0
var/Virus = list()
var/Type = null
Grass
icon = 'Grass.dmi'
color = "green"
obj
Infected
var/Virus = list()
var/Type
New()
..()
src.Airborne()
proc
Airborne()
..()
if(Type == "Airborne")
//var/Direct = pick("NORTH","SOUTH","EAST","WEST")
walk_rand(src,0,2)
world << "DEBUG:"
//sleep(100)
// src.Airborne()
else
..()
spawn(50)
src.Airborne()
Move()
var/obj/Infected/I = new
I.Virus = "Airborne"
var/turf/InfectedPlace = src.loc
InfectedPlace.Infected = 1
I.loc = src.loc
..()
Click()
world << Type
obj
Infected
icon = 'Infected.dmi'
world
turf = /turf/Grass
maxx = 10
maxy = 10
maxz = 1
mob
verb
Sneeze()
var/RandV = pick("Cold","Flu")
var/obj/Infected/I = new
I.Virus = RandV
var/turf/InfectedPlace = src.loc
InfectedPlace.Infected = 1
I.loc = src.loc
if(RandV == "Cold")
I.Type = "Contact"
if(RandV == "Flu")
I.Type = "Airborne"
Problem description:
(Focusing on airborne more than contact)
Problems Are:
1.When i click on some of them they show nothing its completely blank. When it's suppose to show the virus type
2.The airborne virus is stacking up. How do i stop that, it bothers your eyes when it stacks up to much and i dont want it to be that viewable.
3.How do i make the virus stop going to a place where the virus is in already?
4.The virus also stops moving around after a point.