forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revamp foldable solar panels (CleverRaven#68705)
* Add deploy_appliance iuse actor Enabled activating an item to place an appliance. * vpart: allow removal into different item Allow vehicle parts to have a different base item than the item they are removed to. This allows having fake items for appliances that are not the same item they remove to. * Make folding solar panel a camping solar panel Folding solar panels seem to be normal solar panels, modified in some way to fold (add hinges?). Outside of spacecraft, I'm not sure such things exist in real life, and this camping solar panel is probably a lot more familiar to most people. Remove the recipe for the folding solar panel, and add some spawns in the camping ground (and add it to some large bugout bags). Make it deployable as an appliance, so it can be used on the go to charge devices. It's done in a bit of a hacky way due to the requirement for a battery, but I think it's fine. It probably shouldn't really be installable on vehicles, as it's got too large of a surface area (and so is better than a normal vehicle solar panel), but I didn't want to cause problems with existing vehicles. Since it doesn't have components any more, I've made it break into an XX damaged folding solar panel. * Make folding_solar_panel_v2 a solar suitcase Instead of not-spawning, have turn the solar_panel_v2 into a solar suitcase. Add some spawns to vehicles, and allow it to be deployed as an appliance for charging items. Still a bit hacky, like the smaller folding solar panel. Recipe was also removed, though it is potentially reasonable to craft a solar suitcase. I just don't know enough about it to say the recipe is still accurate. * Remove vehicle folding solar panels These are voluminous enough that it doesn't make sense to have a whole lot on a folding vehicle, and they don't deliver that much juice either. It just makes more sense to carry around the folding panels and deploy them. Also, these are too big (surface area) to fit on a vehicle tile.
- Loading branch information
1 parent
c2fcb44
commit 9f1d9cc
Showing
19 changed files
with
224 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.