Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

allocateBook

Description

Allocates a book inside a bookshelf. This method is used internally and should not be used outside of the bookshelf_object_base class.

Fires out the BOOK_PLACED event when called.

Arguments

1 string bookID

the ID of the book to add.

2 bookshelf bookshelfObject

the bookshelf object to add the book to.

3 bool skipRecalculation

whether skill experience boost recalculation should be skipped. Usually this is at false.