ID:269601
 
I need a fusion system for my new RPG. I know better than to use Zeta code because..... Bleh. Anyhoo, If yall can help me it would be much appriciated
Depends on what you're tryin to do I guess..as In wanting one character having control, merging clothes, stats, etc.
You could do something like this(untested)-
mob/var/FusedWith // Defines the FusedWith variable
mob/verb/Fuse(mob/M as mob in oview(1)) // Defines the fuse verb
if((input(M,"Do you wish to fuse with [usr]?")in list("Yes","No"))=="Yes") // Asks the mob if they want to fuse
var/mob/fused/F=new(M.loc) // Creates a new fused mob
M.client.eye=F // Sets the player's center of screen to the new mob
M.loc=null // So that the old mob is gone, but still accessible
M.FusedWith=F // Set the FusedWith var to the new mob
usr.client.eye=F
usr.loc=null
usr.FusedWith=F
client
North() // You'll have to redefine the rest of the directions too
if(src.mob.FusedWith) // If fused
step(src.mob.FusedWith,NORTH) // Step() the new mob
else // If not fused
..() // Move normally

You'll probably also want to store the old mobs in a variable so that if/when the fusion wears off, they can go back to their old body.

I could do more of what you wanted, but it should be easy enough to do yourself with this example.
In response to Mecha Destroyer JD
One person in control and gettin rid of the clothes. I also need a way for it to either be reversable or have it wear off after a set amount of time. Either is good with me
In response to Artekia
I used that code and I've used codes like it to make a clone of a user (THe var/mob/fused/F code) but when I try to compile it it gives me these errors:

Fusion.dm:5:error:F:undefined type: F
Fusion.dm:7:error:F:undefined type: F
Fusion.dm:8:error:F:undefined type: F
Fusion.dm:10:error:F:undefined type: F
Fusion.dm:4:error:F :unknown variable type

This is just like the code I used but it still says F is undefined
In response to Clark Kent
...=/
The DM guide is on the left, sonny.