mob
verb
Wall()
set name = "Wall"
set category = "Build"
new/obj/Wall(usr.loc)
Problem description:
Okay, my last post for a good bit.
Okay, so I need help making a new element type deal with my game.
In my game im helping to work on, players can build walls. With these walls, they can make buildings.
However, there is no players safe because someone can just walk by and blow up the walls.
What I need is a knowledge system. A knowledge system is where that knowledge always grows when ever you open a tab. (the Science tab.)
With your knowledge, you can upgrade the walls to have a health equal to what ever the knowledge makes it.
That is the system I want help with. The challenges is making the walls parent to each other when they are connected, and making the knowledge upgrades the walls health, BUT NOT equal the knowledge exactly. We could probably make it that knowledge = health *2.
Another challenge is to make the knowledge cap. So that if the whole servers a certain level, the knowledge wont go above the cap.
So, can you guys help me? I know its a lot to ask for, but it would help me a bunch! I am kinda clueless how to go about doing this.
I didn't explain what's going on here, so feel free to ask any questions.