Burgeoning Battle Gamma Kiexcolo Posted December 31, 2004 Share Posted December 31, 2004 I can't seem to curse my item. Even though I set it_cursed = 1, the item doesn't doesn't specify its cursed and can be unequipped. Link to comment Share on other sites More sharing options...
Easygoing Eyebeast *i Posted December 31, 2004 Share Posted December 31, 2004 Could you please post the whole item definition in your script. Link to comment Share on other sites More sharing options...
Burgeoning Battle Gamma Kiexcolo Posted December 31, 2004 Author Share Posted December 31, 2004 begindefineitem 456; clear; it_name = "Claw"; it_full_name = "Demon Claws"; it_variety = 2; it_floor_which_sheet = 520; it_floor_which_icon = 0; it_inventory_icon = 0; it_damage_per_level = 6; it_protection = 6; it_bonus = 6; it_ability_1 = 50; it_ability_str_1 = 2; it_ability_2 = 54; it_ability_str_2 = 2; it_ability_3 = 64; it_ability_str_3 = 1; it_ability_4 = 70; it_ability_str_4 = 30; it_special_class = 6; it_weight = 150; it_magic = 1; it_cursed = 1; Link to comment Share on other sites More sharing options...
Easygoing Eyebeast *i Posted December 31, 2004 Share Posted December 31, 2004 I have a couple ideas to try: 1) Try removing one of the special abilities and see if the cursing works. 2) Try taking off the magic attribute. If neither one of these work, definitely e-mail Jeff Vogel. Link to comment Share on other sites More sharing options...
Burgeoning Battle Gamma Kiexcolo Posted January 1, 2005 Author Share Posted January 1, 2005 No, it doesn't work... I commented everything except it_name, it_variety and it_cursed and it still refuses to work... weird... looks like I am the one thats cursed. Link to comment Share on other sites More sharing options...
Easygoing Eyebeast *i Posted January 1, 2005 Share Posted January 1, 2005 Does it work for a different number slot? Link to comment Share on other sites More sharing options...
Burgeoning Battle Gamma Kiexcolo Posted January 1, 2005 Author Share Posted January 1, 2005 Nope, still doesn't work. I'm sure someone else must have done a cursed item before. Issit something I missed out? Link to comment Share on other sites More sharing options...
Chittering Clawbug Nasarius Posted January 1, 2005 Share Posted January 1, 2005 Why don't you compare yours to the default items? Commenting something out doesn't necessarily mean that variable is set to 0. Code: begindefineitem 49; it_name = "Short Sword"; it_full_name = "Cursed Short Sword"; it_variety = 1; it_damage_per_level = 4; it_bonus = -3; it_floor_which_sheet = 1004; it_floor_which_icon = 9; it_inventory_icon = 8; it_value = 10; it_weight = 80; it_magic = 0; it_cursed = 1; Link to comment Share on other sites More sharing options...
Burgeoning Battle Gamma Kiexcolo Posted January 2, 2005 Author Share Posted January 2, 2005 Ok, thats it, curse item is broken, for me anyway, even the default cursed items dun appear curse. Corrupted program? Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Lilith Posted January 2, 2005 Share Posted January 2, 2005 Actually, some (but not all) cursed items don't seem to be properly cursed for me either. I assumed this was just because they weren't defined as such. My suspicion is that curse working/not working has to do with the type of item it is. Try Morog's Scepter in Za-Khazi Run; I know for a fact that was cursed for me. Link to comment Share on other sites More sharing options...
Burgeoning Battle Gamma Kiexcolo Posted January 2, 2005 Author Share Posted January 2, 2005 Alrite, I figured out the real deal here thanks to the hint by Thuryl. Although I never played Za-khazi, I have looked at its design and I figured the Morog scepter to be a reward item so on a hunch I rewarded my cursed item and guess what, its correctly cursed! Only when you place cursed items on the floor in the scene editor do they not get cursed correctly. Weird huh. Edit: Anyway I went to make sure and it seems the scepter is a dropped item, not a reward item. But anyway the theory is the same, cursed item do not work if they are placed on floor in scene edit. Link to comment Share on other sites More sharing options...
Recommended Posts