Repairing requiring some basic tools

Out-of-character discussion forum for players of Cantr II to discuss new ideas for the development of the Cantr II game.

Moderators: Public Relations Department, Players Department, Programming Department, Game Mechanics (RD)

User avatar
joshua johnson
Posts: 166
Joined: Tue Jun 15, 2004 12:45 am

Repairing requiring some basic tools

Postby joshua johnson » Fri May 13, 2005 3:03 pm

I think repairing is cool.
Right now though, it appears you can repair a sabre, tool, or shield, with your bare hands.

Although it seems okay to repair some tools by hand, it would be cool if repairing higher level items required some tools.

Perhaps a hammer, screwdriver, and pliers would be requred to fix a crossbow, or a file would be needed to resharpen a blade, or an axe.

Low level items would still be fixable by hand.
I think, therefore I think I am, I think
User avatar
TatteredShoeLace
Posts: 1151
Joined: Tue Nov 23, 2004 1:50 am

Postby TatteredShoeLace » Fri May 13, 2005 3:24 pm

Seems iffy, then everyone needs to waste the time making all the tools if no one around them wants to share. File maybe, but no more than one item in my opinion.
1223-4: You kill a elephant using a longbow.

Nick wrote:If you don't check your characters once a day, you're not going anywhere in Cantr. :P
User avatar
creepyguyinblack
Posts: 680
Joined: Mon Jul 14, 2003 9:05 pm
Location: Seattle, WA
Contact:

Postby creepyguyinblack » Fri May 13, 2005 3:32 pm

I do like it if it were done properly, this way most things could have similar repair rates, it'd just have an additional start up cost to repair the more "expensive" items. Also this could open up additional specialization, so if you're in town and don't have the file or whatever to sharpen your sword, take it to the local repair shop and trade them some food or animal pelts you killed to get your blade fixed.
“We are beginning to see intimations of this in the implantation of computer devices into the human body.”

Ray Kurzweil quotes
User avatar
TatteredShoeLace
Posts: 1151
Joined: Tue Nov 23, 2004 1:50 am

Postby TatteredShoeLace » Fri May 13, 2005 4:34 pm

That does seem allright I suppose. And it does force more interaction.
1223-4: You kill a elephant using a longbow.



Nick wrote:If you don't check your characters once a day, you're not going anywhere in Cantr. :P
Revanael
Posts: 1555
Joined: Mon Apr 05, 2004 7:15 pm

Postby Revanael » Fri May 13, 2005 5:01 pm

And that's a benefit we want to force.
User avatar
Agar
Posts: 1687
Joined: Tue May 11, 2004 7:43 pm

Postby Agar » Fri May 13, 2005 5:38 pm

Sharp item = Whetstone and oilcloth.

Blunt item = Hammer (to bash loose parts back together)

Mechanical workings = screwdriver

Bows = I dunno, maybe that oilcloth again.
Reality was never my strong point.
User avatar
kinvoya
Posts: 1396
Joined: Sun Mar 28, 2004 9:31 pm
Location: The Wide, Wide World of Web

Postby kinvoya » Fri May 13, 2005 6:05 pm

Oilcloth = oil plus cotton, wool, or hemp cloth
Shammy = oil plus leather

These would be excellent tools for maintaining the condition of wood and metal objects resulting in less deterioration/rot/whatever is happening to them. Maybe we need a new catagoy of items called maintenance equipment.

I'm all confused now about what is happening. Is it still just straight deterioration or is there rot + usage wear or some other mysterious process?
<a><img></a>
User avatar
Agar
Posts: 1687
Joined: Tue May 11, 2004 7:43 pm

Postby Agar » Fri May 13, 2005 7:19 pm

As I understand it, last I heard i mean, there is Item Rot + wear and tear from usage. Item rot seems to be a bigger factor than use.
Reality was never my strong point.
User avatar
Solfius
Posts: 3144
Joined: Wed Jul 16, 2003 5:31 pm

Postby Solfius » Fri May 13, 2005 7:21 pm

actually, I thought it was just rot? because use deterioration is very hard to code
User avatar
Agar
Posts: 1687
Joined: Tue May 11, 2004 7:43 pm

Postby Agar » Fri May 13, 2005 7:57 pm

How so?

Create an integer variable for each item, we'll call it "use".

On weapons:

When weapon is used to hit someone or thing (assuming the same wear and tear hunting people or animals)
Use += 1

So if they only hunt the 8 boars and leave the 2 raccons alone, there's only one increment of the use variable, but when they hunt on aki and attack 8 different species, there's 8 increments, for 8 times the use.

Most projects last for more than one day, so for tool use, you can just increment that prior to the wear and tear item rot, but on the same tic.

So, on item rot once-a-day tic:

If (project character working on requires tool)
tool.use += 1

(I believe it only increments the first tool, not all tools of that type)

Then

wear and tear = (use * item rot factor)

So it checks to see if you're using the tool, then makes them wear down at the same time as it wears down your weapons for all thier use or lack thereof.

Then:

Use = 0

To reset it for the next day.

It's not that hard to code at all. Just logic. Item rot is a simple fixed rate. You can have each item have a durability value, and then subtract from it daily. To find it's state, as in brand new, crumbling or whatnot, easy math turns it's current durability into a % of it's original, compare that to a scale of nested ifs, and there you go.
Reality was never my strong point.
User avatar
Yo_Yo
Posts: 725
Joined: Sat Jul 26, 2003 2:32 am
Location: Hiding in the bush

Postby Yo_Yo » Fri May 13, 2005 8:39 pm

TatteredShoeLace wrote: File maybe, .


Nooooooo! Files haven't been adjusted yet! I'll make a thread right now!
Vicki Vale: You're insane!
Joker: I thought I was a Pisces!
west
Posts: 4649
Joined: Mon Aug 25, 2003 5:23 pm

Postby west » Fri May 13, 2005 8:58 pm

kinvoya wrote:Oilcloth = oil plus cotton, wool, or hemp cloth
Shammy = oil plus leather


Shammy = Chamois
I'm not dead; I'm dormant.
User avatar
kinvoya
Posts: 1396
Joined: Sun Mar 28, 2004 9:31 pm
Location: The Wide, Wide World of Web

Postby kinvoya » Fri May 13, 2005 9:24 pm

Oh, yeah. Hee. Damn those Frenchies with their sneaky words!
<a><img></a>
User avatar
Solfius
Posts: 3144
Joined: Wed Jul 16, 2003 5:31 pm

Postby Solfius » Sat May 14, 2005 7:13 pm

Agar,

That is along the lines that I would do it, but I was just repeating what I read in another post (possibly Jur?)

Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest