123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- /**
- * <https://y.st./>
- * Copyright © 2015 Alex Yst <mailto:copyright@y.st>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <https://www.gnu.org./licenses/>.
- **/
- $xhtml = array(
- 'title' => 'Further modularization of Minetyst',
- 'body' => <<<END
- <p>
- Tomorrow, my mother is heading out to Coos Bay to take a drug test and take care of some paperwork.
- Upon successfully passing the drug test, her acquisition of her new job should be finalized.
- The only real drug she uses is caffeine, so no worries there.
- She's never been a drug addict.
- She didn't even have alcohol until she was forty, and it didn't thrill her.
- Perhaps when she gets back, she'll have a date on when we are moving so I can put in notice with my work that I am leaving.
- </p>
- <p>
- After working with Minetyst some more, I've come to the conclusion that I am going to have to move the main biome definitions to a new module from the main module.
- The problem is the incomplete tree definitions.
- Trees (or saplings) are needed during map generation to create the forests and jungles.
- Three of the five trees present in the main module do not have fruit or saplings.
- I could set up incomplete versions of the trees during mapgen, but that means that the later module that completes the trees will need to rewrite the tree definitions and fix them up.
- I could instead add the nodes needed to complete the trees, but that would blur the line between what belongs in the main module and what does not.
- If I am not careful, the main module will become a monolithic dumping ground for all random code that does not belong elsewhere, as default is to minetest_game.
- I do not want that.
- I think rather than try to shove the extra tree parts into the main module, pulling map generation work <strong>*out*</strong> of the main module will lead to greater chances of the success of the game.
- </p>
- <p>
- Unfortunately, I broke my money stamp today.
- I'll need to take a look at it when I have time and see if I want to try to work with the broken stamp or if I want to replace it.
- </p>
- <p>
- My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
- </p>
- END
- );
|