Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Help in Inventory with Clear-function #857

Open
Fergusson951 opened this issue Jul 31, 2017 · 0 comments
Open

Need Help in Inventory with Clear-function #857

Fergusson951 opened this issue Jul 31, 2017 · 0 comments

Comments

@Fergusson951
Copy link

	public function takeItem(itype:ItemType, nextAction:Function, overrideAbandon:Function = null, source:ItemSlotClass = null):void {
	clearOutput();
		if (itype == null) {
			CoC_Settings.error("takeItem(null)");
			return;
		}
		if (itype == ItemType.NOTHING) return;
		if (nextAction != null)
			callNext = nextAction;
		else callNext = playerMenu;

P.S. I need help with duplicated images from [callNext function], because [clearOutput function] clear first [showImage function] with his duplicate... I would see two pages (one by one) with two different pictures
Example of duplicating - taking skulls from imps (picture for imp_skull have remain in imp_food scene and succubi_milk scene too) -- Renewed Img Pack v1.0.6 by AF (for CoC Revamp v1.4.8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant