View Single Post
  #2  
Old 02-08-2009, 06:44 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by [email protected] View Post
1,) How would you script an item system? (adding/removing/equip)
I'd make it as a player class, simple and easy to use. (player.addItem("name", quant (+/-))
I'd also say it's a pretty secure way to control it this way with logs.
It's obviously not. Several people, including myself, managed to drop an item without this being logged on Era in the past. That's why I moved the savelog2() call into the item class. Also, throwing that stuff into a class joined to a player doesn't seem right. Wouldn't trust it.
Reply With Quote