All pastes #923739 Raw Edit

Untitled

public text v1 · immutable
#923739 ·published 2008-02-29 20:28 UTC
rendered paste body
--- gui/gui.xml Search for:
<checkbox name="chkGather">
	<x>10</x>
	<y>30</y>
	<width>70</width>
	<height>25</height>
	<text>Gather</text>
	<OnLeftClick>  
		Event[OPENBOT_CONFIG_XBOX]:Execute["chkGather"]     
	</OnLeftClick>  							
</checkbox>

--- Add after:
<checkbox name="chkSkinning">
	<x>90</x>
	<y>30</y>
	<width>70</width>
	<height>25</height>
	<text>Skinning</text>
	<OnLeftClick>  
		Event[OPENBOT_CONFIG_XBOX]:Execute["chkSkinning"]     
	</OnLeftClick>  								
</checkbox>

--- objects/oConfig.iss Search for:
This:SetCheckBox[${uniqueToon},"chkGather","chkGather@Config@InvPages@Inventory@Pages@openbot",TRUE]	

--- Add after:		This:SetCheckBox[${uniqueToon},"chkSkinning","chkSkinning@Config@InvPages@Inventory@Pages@openbot",TRUE]

--- Search for:
This:SaveCheckBox[${uniqueToon},"chkGather"]	

--- Add after:
This:SaveCheckBox[${uniqueToon},"chkSkinning"]	

--- objects/oState.iss Search for:
if ${Unit[${list.GUID[${Index}]}].Skinnable} && ${Toon.HasSkill[SKILL_SKINNING]} && (${Item[-inventory,"Skinning Knife"](exists)} || ${Item[-inventory,"Finkle's Skinner"](exists)}  || ${Item[-inventory,"Zulian Slicer"](exists)} )

--- Replace with:
if ${Unit[${list.GUID[${Index}]}].Skinnable} && ${Toon.HasSkill[SKILL_SKINNING]} && (${Item[-inventory,"Skinning Knife"](exists)} || ${Item[-inventory,"Finkle's Skinner"](exists)}  || ${Item[-inventory,"Zulian Slicer"](exists)} ) &&  ${UIElement[chkSkinning@Config@InvPages@Inventory@Pages@openbot].Checked}