diff --git a/code/game/jobs/departments.dm b/code/game/jobs/departments.dm new file mode 100644 index 0000000000..f424d03a1a --- /dev/null +++ b/code/game/jobs/departments.dm @@ -0,0 +1 @@ +var/list/departments = list("Command", "Medical", "Engineering", "Security", "Civilian", "Cargo") \ No newline at end of file diff --git a/code/game/machinery/cloning.dm b/code/game/machinery/cloning.dm index 8c22b202eb..544d3b0d06 100644 --- a/code/game/machinery/cloning.dm +++ b/code/game/machinery/cloning.dm @@ -3,6 +3,8 @@ //Potential replacement for genetics revives or something I dunno (?) +#define CLONE_BIOMASS 150 + /obj/machinery/clonepod anchored = 1 name = "cloning pod" @@ -18,6 +20,7 @@ var/mess = 0 //Need to clean out it if it's full of exploded clone. var/attempting = 0 //One clone attempt at a time thanks var/eject_wait = 0 //Don't eject them as soon as they are created fuckkk + var/biomass = CLONE_BIOMASS //The return of data disks?? Just for transferring between genetics machine/cloning machine. //TO-DO: Make the genetics machine accept them. @@ -271,6 +274,11 @@ src.locked = 0 src.go_out() return + else if (istype(W, /obj/item/weapon/reagent_containers/food/snacks/meat)) + biomass += 50 + user.drop_item() + del(W) + return else ..() diff --git a/code/game/machinery/computer/cloning.dm b/code/game/machinery/computer/cloning.dm index dc80226165..80796e663c 100644 --- a/code/game/machinery/computer/cloning.dm +++ b/code/game/machinery/computer/cloning.dm @@ -202,6 +202,9 @@ dat += "Lock status: [src.scanner.locked ? "Locked" : "Unlocked"]
" + if (!isnull(src.pod1)) + dat += "Biomass: [src.pod1.biomass]
" + // Database dat += "

Database Functions

" dat += "View Records
" @@ -243,8 +246,12 @@ dat += "
" //Keeping a line empty for appearances I guess. dat += {"UI: [src.active_record.fields["UI"]]
- SE: [src.active_record.fields["SE"]]

- Clone
"} + SE: [src.active_record.fields["SE"]]

"} + + if(pod1 && pod1.biomass >= CLONE_BIOMASS) + dat += {"Clone
"} + else + dat += {"Unsufficient biomass
"} if(4) if (!src.active_record) @@ -378,6 +385,8 @@ temp = "Error: No Clonepod detected." else if(pod1.occupant) temp = "Error: Clonepod is currently occupied." + else if(pod1.biomass < CLONE_BIOMASS) + temp = "Error: Not enough biomass." else if(pod1.mess) temp = "Error: Clonepod malfunction." else if(!config.revival_cloning) @@ -389,6 +398,8 @@ del(C) menu = 1 else + pod1.biomass -= CLONE_BIOMASS + var/mob/selected = find_dead_player("[C.fields["ckey"]]") selected << 'chime.ogg' //probably not the best sound but I think it's reasonable var/answer = alert(selected,"Do you want to return to life?","Cloning","Yes","No") diff --git a/html/changelog.html b/html/changelog.html index 59b1706ddb..90544e46d1 100644 --- a/html/changelog.html +++ b/html/changelog.html @@ -59,6 +59,14 @@ should be listed in the changelog upon commit though. Thanks. --> +
+

March 11th 2013

+

CIB updated:

+ +
+

March 9th 2013

Cael Aislinn updated: