What do you think about this enhancement to your mod?
- Working Bookshelf (Recreation -1, Literacy -0.1)
- New Object: LargeBookshelf. Works like a Library Bookshelf, but no need to add books to it (I modified the original sprite)
- Branch Library can use a Library Bookshelf or a Large Bookshelf.
materials.txt
Code: Select all
BEGIN Object
Name LargeBookshelf
Width 2
Height 1
ConstructionTime 6.00000
MoveSpeedFactor 0.400000
Toughness 10.0000
Price -300
RenderDepth 2
Group StaticObject
BlockedBy Wall
BlockedBy StaticObject
BlockedBy UtilityStation
MadeOf Wood
BEGIN Sprite x 0 y 32 w 4 h 4 RotateType 1 TopAligned false END
ToolbarSprite LibraryBookshelfToolbar
Properties StaticObject
Properties RoomSpecific
WorkGroup Library
Research PrisonLabour
END
BEGIN Room
Name BranchLibrary
BEGIN Requirement Type MinimumSize x 1 y 3 END
BEGIN Requirement Type Indoor END
BEGIN Requirement Type Object Id LibraryBookshelf Alt LargeBookshelf END
Properties PrisonersCanWork
Qualification FoundationEducation
WorkGroup Library
Research PrisonLabour
END
production.txt
Code: Select all
BEGIN ProductionRule
Rule Storage
Material LibraryBookSorted
Container LibraryBookshelf
Room BranchLibrary
Distribution Random
END
needs.txt
Code: Select all
BEGIN Provider
Action GetBook
ProviderType Object
Object LibraryBookshelf
PrimaryNeed Literacy
PrimaryRate -1.000000
ActionType ReadBook
Flags Shareable
END
BEGIN Provider
Action GetBook
ProviderType Object
Object LargeBookshelf
PrimaryNeed Recreation
PrimaryRate -1.00000
SecondaryNeed Literacy
SecondaryRate -0.100000
ActionType ReadBook
Flags Shareable
END
BEGIN Provider
Action GetBook
ProviderType Object
Object Bookshelf
PrimaryNeed Recreation
PrimaryRate -1.00000
SecondaryNeed Literacy
SecondaryRate -0.100000
ActionType ReadBook
Flags UsesEntireObject
END