else setItemIntProperty( "dye", dye ) else setItemIntProperty( "corpse", corpse ) else setItemIntProperty( "defense", def ) else setItemIntProperty( "lodamage", lodamage ) else setItemIntProperty( "hidamage", hidamage ) else setItemIntProperty( "weaponskill", wpsk ) else setItemIntProperty( "health", hp ) else setItemIntProperty( "maxhealth", maxhp ) else setItemIntProperty( "strength", st ) else setItemIntProperty( "dexterity", dx ) else setItemIntProperty( "intelligence", in ) else setItemIntProperty( "strength2", st2 ) else setItemIntProperty( "dexterity2", dx2 ) else setItemIntProperty( "intelligence2", in2 ) else setItemIntProperty( "speed", spd ) else setItemIntProperty( "smelt", smelt ) else setItemIntProperty( "secureIt", secureIt ) else setItemIntProperty( "moveable", magic ) else setItemIntProperty( "gatetime", gatetime ) else setItemIntProperty( "gatenumber", gatenumber ) else setItemIntProperty( "decaytime", decaytime )
else setIntProperty( "dye", Item->dye ) else setIntProperty( "corpse", Item->corpse ) else setIntProperty( "defense", Item->def ) else setIntProperty( "lodamage", Item->lodamage ) else setIntProperty( "hidamage", Item->hidamage ) else setIntProperty( "weaponskill", Item->wpsk ) else setIntProperty( "health", Item->hp ) else setIntProperty( "maxhealth", Item->maxhp ) else setIntProperty( "strength", Item->st ) else setIntProperty( "dexterity", Item->dx ) else setIntProperty( "intelligence", Item->in ) else setIntProperty( "strength2", Item->st2 ) else setIntProperty( "dexterity2", Item->dx2 ) else setIntProperty( "intelligence2", Item->in2 ) else setIntProperty( "speed", Item->spd ) else setIntProperty( "smelt", Item->smelt ) else setIntProperty( "secureIt", Item->secureIt ) else setIntProperty( "moveable", Item->magic ) else setIntProperty( "gatetime", Item->gatetime ) else setIntProperty( "gatenumber", Item->gatenumber ) else setIntProperty( "decaytime", Item->decaytime )
int Py_WPItemSetAttr( Py_WPItem *self, char *name, PyObject *value ){	if( !strcmp( name, "id" ) )		self->Item->setId( PyInt_AS_LONG( value ) );	else setItemStrProperty( "name", name )	else setItemStrProperty( "name2", name2 )	else setItemIntProperty( "color", color )	else setItemIntProperty( "amount", amount )	else setItemIntProperty( "amount2", amount2 )	else setItemIntProperty( "serial", serial )	else setItemIntProperty( "x", pos.x )	else setItemIntProperty( "y", pos.y )	else setItemIntProperty( "z", pos.z )	else setItemIntProperty( "plane", pos.plane )	else setItemIntProperty( "layer", layer )	else setItemIntProperty( "itemhand", itmhand )	else setItemIntProperty( "type", type )	else setItemIntProperty( "type2", type2 )	// CONTAINER!!	else setItemIntProperty( "oldx", oldpos.x )	else setItemIntProperty( "oldy", oldpos.y )	else setItemIntProperty( "oldz", oldpos.z )	else setItemIntProperty( "oldplane", oldpos.plane )	else setItemIntProperty( "oldlayer", oldlayer )	else setItemIntProperty( "weight", weight )	else setItemIntProperty( "more1", more1 )	else setItemIntProperty( "more2", more2 )	else setItemIntProperty( "more3", more3 )	else setItemIntProperty( "more4", more4 )	else setItemIntProperty( "moreb1", moreb1 )	else setItemIntProperty( "moreb2", moreb2 )	else setItemIntProperty( "moreb3", moreb3 )	else setItemIntProperty( "moreb4", moreb4 )	else setItemIntProperty( "morex", morex )	else setItemIntProperty( "morey", morey )	else setItemIntProperty( "morez", morez )	else setItemIntProperty( "doordir", doordir )	else setItemIntProperty( "dooropen", dooropen )	// PILEABLE	else setItemIntProperty( "dye", dye )	else setItemIntProperty( "corpse", corpse )	else setItemIntProperty( "defense", def )	else setItemIntProperty( "lodamage", lodamage )	else setItemIntProperty( "hidamage", hidamage )	else setItemIntProperty( "weaponskill", wpsk )	else setItemIntProperty( "health", hp )	else setItemIntProperty( "maxhealth", maxhp )	else setItemIntProperty( "strength", st )	else setItemIntProperty( "dexterity", dx )	else setItemIntProperty( "intelligence", in )	else setItemIntProperty( "strength2", st2 )	else setItemIntProperty( "dexterity2", dx2 )	else setItemIntProperty( "intelligence2", in2 )	else setItemIntProperty( "speed", spd )	else setItemIntProperty( "smelt", smelt )	else setItemIntProperty( "secureIt", secureIt )	else setItemIntProperty( "moveable", magic )	else setItemIntProperty( "gatetime", gatetime )	else setItemIntProperty( "gatenumber", gatenumber )	else setItemIntProperty( "decaytime", decaytime )	// ownserial	else setItemIntProperty( "visible", visible )	// spanserial	else setItemIntProperty( "dir", dir ) // lightsource type	else setItemIntProperty( "priv", priv ) 	else setItemIntProperty( "value", value ) 	else setItemIntProperty( "restock", restock )	else setItemIntProperty( "value", value ) 	else setItemIntProperty( "disabled", disabled )	else setItemStrProperty( "disabledmsg", disabledmsg ) 	else setItemIntProperty( "poisoned", poisoned ) 	else setItemStrProperty( "murderer", murderer ) 	else setItemIntProperty( "murdertime", murdertime ) 	else setItemIntProperty( "rank", rank ) 	else setItemStrProperty( "creator", creator ) 	else setItemIntProperty( "good", good ) 	else setItemIntProperty( "madewith", madewith ) 	else setItemStrProperty( "desc", desc ) 	else setItemIntProperty( "carve", carve ) 	else setItemIntProperty( "spawnregion", spawnregion ) 	// incognito	return 0;}